PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Protected Member Functions | List of all members
EvoNotificationInterface Class Reference

#include <evonotificationinterface.h>

Inheritance diagram for EvoNotificationInterface:
[legend]
Collaboration diagram for EvoNotificationInterface:
[legend]

Public Member Functions

virtual ~EvoNotificationInterface ()=default
 
void InitializeCurrentBlockTip ()
 
- Public Member Functions inherited from CValidationInterface
virtual ~CValidationInterface ()=default
 

Protected Member Functions

void AcceptedBlockHeader (const CBlockIndex *pindexNew) override
 
void UpdatedBlockTip (const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override
 Notifies listeners when the block chain tip advances. More...
 
void NotifyMasternodeListChanged (bool undo, const CDeterministicMNList &oldMNList, const CDeterministicMNListDiff &diff) override
 Notifies listeners of updated deterministic masternode list. More...
 
- Protected Member Functions inherited from CValidationInterface
virtual void TransactionAddedToMempool (const CTransactionRef &ptxn)
 Notifies listeners of a transaction having been added to mempool. More...
 
virtual void TransactionRemovedFromMempool (const CTransactionRef &ptx, MemPoolRemovalReason reason)
 Notifies listeners of a transaction leaving mempool. More...
 
virtual void BlockConnected (const std::shared_ptr< const CBlock > &block, const CBlockIndex *pindex)
 Notifies listeners of a block being connected. More...
 
virtual void BlockDisconnected (const std::shared_ptr< const CBlock > &block, const uint256 &blockHash, int nBlockHeight, int64_t blockTime)
 Notifies listeners of a block being disconnected. More...
 
virtual void SetBestChain (const CBlockLocator &locator)
 Notifies listeners of the new active block chain on-disk. More...
 
virtual void ResendWalletTransactions (CConnman *connman)
 Tells listeners to broadcast their data. More...
 
virtual void BlockChecked (const CBlock &, const CValidationState &)
 
friend void ::RegisterSharedValidationInterface (std::shared_ptr< CValidationInterface >)
 
friend void ::UnregisterValidationInterface (CValidationInterface *)
 
friend void ::UnregisterAllValidationInterfaces ()
 

Detailed Description

Definition at line 10 of file evonotificationinterface.h.

Constructor & Destructor Documentation

◆ ~EvoNotificationInterface()

virtual EvoNotificationInterface::~EvoNotificationInterface ( )
virtualdefault

Member Function Documentation

◆ AcceptedBlockHeader()

void EvoNotificationInterface::AcceptedBlockHeader ( const CBlockIndex pindexNew)
overrideprotectedvirtual

Reimplemented from CValidationInterface.

Definition at line 20 of file evonotificationinterface.cpp.

◆ InitializeCurrentBlockTip()

void EvoNotificationInterface::InitializeCurrentBlockTip ( )

Definition at line 14 of file evonotificationinterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NotifyMasternodeListChanged()

void EvoNotificationInterface::NotifyMasternodeListChanged ( bool  undo,
const CDeterministicMNList oldMNList,
const CDeterministicMNListDiff diff 
)
overrideprotectedvirtual

Notifies listeners of updated deterministic masternode list.

Reimplemented from CValidationInterface.

Definition at line 33 of file evonotificationinterface.cpp.

Here is the call graph for this function:

◆ UpdatedBlockTip()

void EvoNotificationInterface::UpdatedBlockTip ( const CBlockIndex pindexNew,
const CBlockIndex pindexFork,
bool  fInitialDownload 
)
overrideprotectedvirtual

Notifies listeners when the block chain tip advances.

When multiple blocks are connected at once, UpdatedBlockTip will be called on the final tip but may not be called on every intermediate tip. If the latter behavior is desired, subscribe to BlockConnected() instead.

Called on a background thread.

Reimplemented from CValidationInterface.

Definition at line 25 of file evonotificationinterface.cpp.


The documentation for this class was generated from the following files: