Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <validationinterface.h>
Protected Member Functions | |
virtual void | UpdatedBlockTip (const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) |
Notifies listeners of updated block chain tip. More... | |
virtual void | TransactionAddedToMempool (const CTransactionRef &ptxn) |
Notifies listeners of a transaction having been added to mempool. More... | |
virtual void | BlockConnected (const std::shared_ptr< const CBlock > &block, const CBlockIndex *pindex, const std::vector< CTransactionRef > &txnConflicted) |
Notifies listeners of a block being connected. More... | |
virtual void | BlockDisconnected (const std::shared_ptr< const CBlock > &block) |
Notifies listeners of a block being disconnected. More... | |
virtual void | SyncTransaction (const CTransaction &tx, const CBlockIndex *pindex, int posInBlock) |
virtual void | UpdatedTransaction (const uint256 &hash) |
virtual void | SetBestChain (const CBlockLocator &locator) |
Notifies listeners of the new active block chain on-disk. More... | |
virtual void | Inventory (const uint256 &hash) |
Notifies listeners about an inventory item being seen on the network. More... | |
virtual void | ResendWalletTransactions (int64_t nBestBlockTime, CConnman *connman) |
Tells listeners to broadcast their data. More... | |
virtual void | BlockChecked (const CBlock &, const CValidationState &) |
Notifies listeners of a block validation result. More... | |
virtual void | NewPoWValidBlock (const CBlockIndex *pindex, const std::shared_ptr< const CBlock > &block) |
Notifies listeners that a block which builds directly on our current tip has been received and connected to the headers tree, though not validated yet. More... | |
virtual void | GetScriptForMining (std::shared_ptr< CReserveScript > &coinbaseScript) |
virtual void | ResetRequestCount (const uint256 &) |
friend | void::RegisterValidationInterface (CValidationInterface *) |
friend | void::UnregisterValidationInterface (CValidationInterface *) |
friend | void::UnregisterAllValidationInterfaces () |
Definition at line 34 of file validationinterface.h.
|
inlineprotectedvirtual |
Notifies listeners of a block validation result.
If the provided CValidationState IsValid, the provided block is guaranteed to be the current best block at the time the callback was generated (not necessarily now)
Reimplemented in submitblock_StateCatcher, and PeerLogicValidation.
Definition at line 61 of file validationinterface.h.
|
inlineprotectedvirtual |
Notifies listeners of a block being connected.
Provides a vector of transactions evicted from the mempool as a result.
Reimplemented in CWallet, PeerLogicValidation, and CZMQNotificationInterface.
Definition at line 44 of file validationinterface.h.
|
inlineprotectedvirtual |
Notifies listeners of a block being disconnected.
Reimplemented in CWallet, and CZMQNotificationInterface.
Definition at line 46 of file validationinterface.h.
|
inlineprotectedvirtual |
Reimplemented in CWallet.
Definition at line 66 of file validationinterface.h.
|
inlineprotectedvirtual |
Notifies listeners about an inventory item being seen on the network.
Reimplemented in CWallet.
Definition at line 52 of file validationinterface.h.
|
inlineprotectedvirtual |
Notifies listeners that a block which builds directly on our current tip has been received and connected to the headers tree, though not validated yet.
Reimplemented in PeerLogicValidation.
Definition at line 65 of file validationinterface.h.
|
inlineprotectedvirtual |
Tells listeners to broadcast their data.
Reimplemented in CWallet.
Definition at line 54 of file validationinterface.h.
|
inlineprotectedvirtual |
Reimplemented in CWallet.
Definition at line 67 of file validationinterface.h.
|
inlineprotectedvirtual |
Notifies listeners of the new active block chain on-disk.
Reimplemented in CWallet.
Definition at line 50 of file validationinterface.h.
|
inlineprotectedvirtual |
Definition at line 47 of file validationinterface.h.
|
inlineprotectedvirtual |
Notifies listeners of a transaction having been added to mempool.
Reimplemented in CWallet, and CZMQNotificationInterface.
Definition at line 39 of file validationinterface.h.
|
inlineprotectedvirtual |
Notifies listeners of updated block chain tip.
Reimplemented in PeerLogicValidation, and CZMQNotificationInterface.
Definition at line 37 of file validationinterface.h.
|
inlineprotectedvirtual |
Definition at line 48 of file validationinterface.h.