diff options
| author | Pieter Wuille <[email protected]> | 2014-08-26 02:26:41 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-08-26 02:26:41 +0200 |
| commit | 92bb6f2f1729192703dd49bb982c1dd4c0062fa0 (patch) | |
| tree | a9fa5e6e1d20ce317542a3ebb899ace7e62cecd7 /src/main.h | |
| parent | Merge pull request #4716 (diff) | |
| download | discoin-92bb6f2f1729192703dd49bb982c1dd4c0062fa0.tar.xz discoin-92bb6f2f1729192703dd49bb982c1dd4c0062fa0.zip | |
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 886cac150..444c88720 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); |