Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CMainSignals Class Reference

#include <validationinterface.h>

Public Member Functions

void RegisterBackgroundSignalScheduler (CScheduler &scheduler)
 Register a CScheduler to give callbacks which should run in the background (may only be called once) More...
 
void UnregisterBackgroundSignalScheduler ()
 Unregister a CScheduler to give callbacks which should run in the background - these callbacks will now be dropped! More...
 
void FlushBackgroundCallbacks ()
 Call any remaining callbacks on the calling thread. More...
 
void UpdatedBlockTip (const CBlockIndex *, const CBlockIndex *, bool fInitialDownload)
 
void TransactionAddedToMempool (const CTransactionRef &)
 
void BlockConnected (const std::shared_ptr< const CBlock > &, const CBlockIndex *pindex, const std::vector< CTransactionRef > &)
 
void BlockDisconnected (const std::shared_ptr< const CBlock > &)
 
void SetBestChain (const CBlockLocator &)
 
void Inventory (const uint256 &)
 
void Broadcast (int64_t nBestBlockTime, CConnman *connman)
 
void BlockChecked (const CBlock &, const CValidationState &)
 
void NewPoWValidBlock (const CBlockIndex *, const std::shared_ptr< const CBlock > &)
 
void BlockFound (const uint256 &)
 
void NewAssetMessage (const CMessage &)
 

Private Member Functions

friend void ::RegisterValidationInterface (CValidationInterface *)
 
friend void ::UnregisterValidationInterface (CValidationInterface *)
 
friend void ::UnregisterAllValidationInterfaces ()
 

Private Attributes

std::unique_ptr< MainSignalsInstancem_internals
 

Detailed Description

Definition at line 78 of file validationinterface.h.

Member Function Documentation

◆ BlockChecked()

void CMainSignals::BlockChecked ( const CBlock block,
const CValidationState state 
)

Definition at line 136 of file validationinterface.cpp.

◆ BlockConnected()

void CMainSignals::BlockConnected ( const std::shared_ptr< const CBlock > &  pblock,
const CBlockIndex pindex,
const std::vector< CTransactionRef > &  vtxConflicted 
)

Definition at line 116 of file validationinterface.cpp.

◆ BlockDisconnected()

void CMainSignals::BlockDisconnected ( const std::shared_ptr< const CBlock > &  pblock)

Definition at line 120 of file validationinterface.cpp.

◆ BlockFound()

void CMainSignals::BlockFound ( const uint256 hash)

Definition at line 144 of file validationinterface.cpp.

◆ Broadcast()

void CMainSignals::Broadcast ( int64_t  nBestBlockTime,
CConnman connman 
)

Definition at line 132 of file validationinterface.cpp.

◆ FlushBackgroundCallbacks()

void CMainSignals::FlushBackgroundCallbacks ( )

Call any remaining callbacks on the calling thread.

Definition at line 54 of file validationinterface.cpp.

◆ Inventory()

void CMainSignals::Inventory ( const uint256 hash)

Definition at line 128 of file validationinterface.cpp.

◆ NewAssetMessage()

void CMainSignals::NewAssetMessage ( const CMessage message)

Definition at line 148 of file validationinterface.cpp.

◆ NewPoWValidBlock()

void CMainSignals::NewPoWValidBlock ( const CBlockIndex pindex,
const std::shared_ptr< const CBlock > &  block 
)

Definition at line 140 of file validationinterface.cpp.

◆ RegisterBackgroundSignalScheduler()

void CMainSignals::RegisterBackgroundSignalScheduler ( CScheduler scheduler)

Register a CScheduler to give callbacks which should run in the background (may only be called once)

Definition at line 45 of file validationinterface.cpp.

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

◆ SetBestChain()

void CMainSignals::SetBestChain ( const CBlockLocator locator)

Definition at line 124 of file validationinterface.cpp.

◆ TransactionAddedToMempool()

void CMainSignals::TransactionAddedToMempool ( const CTransactionRef ptx)

Definition at line 112 of file validationinterface.cpp.

◆ UnregisterBackgroundSignalScheduler()

void CMainSignals::UnregisterBackgroundSignalScheduler ( )

Unregister a CScheduler to give callbacks which should run in the background - these callbacks will now be dropped!

Definition at line 50 of file validationinterface.cpp.

◆ UpdatedBlockTip()

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

Definition at line 108 of file validationinterface.cpp.

◆ void ::RegisterValidationInterface()

CMainSignals::void ::RegisterValidationInterface ( CValidationInterface )
private

◆ void ::UnregisterAllValidationInterfaces()

CMainSignals::void ::UnregisterAllValidationInterfaces ( )
private

◆ void ::UnregisterValidationInterface()

CMainSignals::void ::UnregisterValidationInterface ( CValidationInterface )
private

Member Data Documentation

◆ m_internals

std::unique_ptr<MainSignalsInstance> CMainSignals::m_internals
private

Definition at line 80 of file validationinterface.h.


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