5 #ifndef BITCOIN_TEST_UTIL_VALIDATION_H 6 #define BITCOIN_TEST_UTIL_VALIDATION_H 25 const std::shared_ptr<const CBlock>& block,
29 #endif // BITCOIN_TEST_UTIL_VALIDATION_H Provides an interface for creating and interacting with one or two chainstates: an IBD chainstate gen...
Implement this to subscribe to events generated in validation.
void JumpOutOfIbd()
Toggle IsInitialBlockDownload from true to false.
static void BlockConnected(ChainstateRole role, CValidationInterface &obj, const std::shared_ptr< const CBlock > &block, const CBlockIndex *pindex)
ChainstateRole
This enum describes the various roles a specific Chainstate instance can take.
The block chain is a tree shaped structure starting with the genesis block at the root...
void ResetIbd()
Reset the ibd cache to its initial state.