diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-08-26 02:26:41 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-08-26 02:26:41 +0200 |
commit | 92bb6f2f1729192703dd49bb982c1dd4c0062fa0 (patch) | |
tree | a9fa5e6e1d20ce317542a3ebb899ace7e62cecd7 /src/main.h | |
parent | 49f954f154e3576a6a8270e00ab95f52dd02c667 (diff) |
Bypass reloading blocks from disk
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index 886cac1507..444c887204 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); |