aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-08-27 22:15:39 +0200
committerPieter Wuille <[email protected]>2014-08-27 22:21:33 +0200
commitcd3d80be677a3e9c4e1373c364c65f9d09439021 (patch)
tree5a6318ee49892e0d6d63cf1fa1456cdde5696f27 /src/main.h
parentRevert "Add a getutxos command to the p2p protocol. It allows querying of the... (diff)
parentBypass reloading blocks from disk (diff)
downloaddiscoin-cd3d80be677a3e9c4e1373c364c65f9d09439021.tar.xz
discoin-cd3d80be677a3e9c4e1373c364c65f9d09439021.zip
Merge pull request #4764
92bb6f2 Bypass reloading blocks from disk (Pieter Wuille)
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index e5357cbfd..142c41444 100644
--- a/src/main.h
+++ b/src/main.h
@@ -160,7 +160,7 @@ std::string GetWarnings(std::string strFor);
/** Retrieve a transaction (from memory pool, or from disk, if possible) */
bool GetTransaction(const uint256 &hash, CTransaction &tx, uint256 &hashBlock, bool fAllowSlow = false);
/** Find the best known block, and make it the tip of the block chain */
-bool ActivateBestChain(CValidationState &state);
+bool ActivateBestChain(CValidationState &state, CBlock *pblock = NULL);
int64_t GetBlockValue(int nHeight, int64_t nFees);
void UpdateTime(CBlockHeader& block, const CBlockIndex* pindexPrev);