![]() |
Bitcoin Core
25.99.0
P2P Digital Currency
|
#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... | |
size_t | CallbacksPending () |
void | UpdatedBlockTip (const CBlockIndex *, const CBlockIndex *, bool fInitialDownload) |
void | TransactionAddedToMempool (const CTransactionRef &, uint64_t mempool_sequence) |
void | TransactionRemovedFromMempool (const CTransactionRef &, MemPoolRemovalReason, uint64_t mempool_sequence) |
void | BlockConnected (const std::shared_ptr< const CBlock > &, const CBlockIndex *pindex) |
void | BlockDisconnected (const std::shared_ptr< const CBlock > &, const CBlockIndex *pindex) |
void | ChainStateFlushed (const CBlockLocator &) |
void | BlockChecked (const CBlock &, const BlockValidationState &) |
void | NewPoWValidBlock (const CBlockIndex *, const std::shared_ptr< const CBlock > &) |
Private Member Functions | |
friend | void ::RegisterSharedValidationInterface (std::shared_ptr< CValidationInterface >) |
friend | void ::UnregisterValidationInterface (CValidationInterface *) |
friend | void ::UnregisterAllValidationInterfaces () |
friend | void ::CallFunctionInValidationInterfaceQueue (std::function< void()> func) |
Private Attributes | |
std::unique_ptr< MainSignalsImpl > | m_internals |
Definition at line 179 of file validationinterface.h.
void CMainSignals::BlockChecked | ( | const CBlock & | block, |
const BlockValidationState & | state | ||
) |
Definition at line 253 of file validationinterface.cpp.
void CMainSignals::BlockConnected | ( | const std::shared_ptr< const CBlock > & | pblock, |
const CBlockIndex * | pindex | ||
) |
void CMainSignals::BlockDisconnected | ( | const std::shared_ptr< const CBlock > & | pblock, |
const CBlockIndex * | pindex | ||
) |
Definition at line 235 of file validationinterface.cpp.
size_t CMainSignals::CallbacksPending | ( | ) |
Definition at line 115 of file validationinterface.cpp.
void CMainSignals::ChainStateFlushed | ( | const CBlockLocator & | locator | ) |
Definition at line 245 of file validationinterface.cpp.
void CMainSignals::FlushBackgroundCallbacks | ( | ) |
Call any remaining callbacks on the calling thread.
Definition at line 108 of file validationinterface.cpp.
void CMainSignals::NewPoWValidBlock | ( | const CBlockIndex * | pindex, |
const std::shared_ptr< const CBlock > & | block | ||
) |
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 97 of file validationinterface.cpp.
void CMainSignals::TransactionAddedToMempool | ( | const CTransactionRef & | tx, |
uint64_t | mempool_sequence | ||
) |
void CMainSignals::TransactionRemovedFromMempool | ( | const CTransactionRef & | tx, |
MemPoolRemovalReason | reason, | ||
uint64_t | mempool_sequence | ||
) |
Definition at line 216 of file validationinterface.cpp.
void CMainSignals::UnregisterBackgroundSignalScheduler | ( | ) |
Unregister a CScheduler to give callbacks which should run in the background - these callbacks will now be dropped!
Definition at line 103 of file validationinterface.cpp.
void CMainSignals::UpdatedBlockTip | ( | const CBlockIndex * | pindexNew, |
const CBlockIndex * | pindexFork, | ||
bool | fInitialDownload | ||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 181 of file validationinterface.h.