5 #ifndef PIVX_UTIL_BLOCKSTATECATCHER_H
6 #define PIVX_UTIL_BLOCKSTATECATCHER_H
42 stateCatcher = std::make_shared<BlockStateCatcher>(hashIn);
Validation interface listener used to get feedback from ProcessNewBlock result.
void setBlockHash(const uint256 &_hash)
virtual void BlockChecked(const CBlock &block, const CValidationState &stateIn)
BlockStateCatcher(const uint256 &hashIn)
BlockStateCatcherWrapper(const uint256 &hashIn)
~BlockStateCatcherWrapper()
BlockStateCatcher & get() const
std::shared_ptr< BlockStateCatcher > stateCatcher
Implement this to subscribe to events generated in validation.
Capture information about block/transaction validation.
void RegisterSharedValidationInterface(std::shared_ptr< CValidationInterface > pwalletIn)
void UnregisterSharedValidationInterface(std::shared_ptr< CValidationInterface > pwalletIn)