skip dpow check on everything but ProcessNewBlock.

This commit is contained in:
blackjok3r
2019-04-12 13:55:06 +08:00
parent 12a7bf62cf
commit 76e3a7f283
4 changed files with 10 additions and 10 deletions

View File

@@ -252,7 +252,7 @@ std::string GetWarnings(const 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, CBlock *pblock = NULL);
bool ActivateBestChain(bool fSkipdpow, CValidationState &state, CBlock *pblock = NULL);
CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams);
/**