![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
#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 | RegisterWithMempoolSignals (CTxMemPool &pool) |
| Register with mempool to call TransactionRemovedFromMempool callbacks. More... | |
| void | UnregisterWithMempoolSignals (CTxMemPool &pool) |
| Unregister with mempool. 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::shared_ptr< const std::vector< CTransactionRef >> &) |
| void | BlockDisconnected (const std::shared_ptr< const CBlock > &) |
| void | ChainStateFlushed (const CBlockLocator &) |
| 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 &) |
Private Member Functions | |
| friend | void ::RegisterValidationInterface (CValidationInterface *) |
| friend | void ::UnregisterValidationInterface (CValidationInterface *) |
| friend | void ::UnregisterAllValidationInterfaces () |
| friend | void ::CallFunctionInValidationInterfaceQueue (std::function< void()> func) |
| void | MempoolEntryRemoved (CTransactionRef tx, MemPoolRemovalReason reason) |
Private Attributes | |
| std::unique_ptr< MainSignalsInstance > | m_internals |
Definition at line 159 of file validationinterface.h.
| void CMainSignals::BlockChecked | ( | const CBlock & | block, |
| const CValidationState & | state | ||
| ) |
| void CMainSignals::BlockConnected | ( | const std::shared_ptr< const CBlock > & | pblock, |
| const CBlockIndex * | pindex, | ||
| const std::shared_ptr< const std::vector< CTransactionRef >> & | pvtxConflicted | ||
| ) |
Definition at line 155 of file validationinterface.cpp.
| void CMainSignals::BlockDisconnected | ( | const std::shared_ptr< const CBlock > & | pblock | ) |
Definition at line 161 of file validationinterface.cpp.
| void CMainSignals::BlockFound | ( | const uint256 & | hash | ) |
Definition at line 185 of file validationinterface.cpp.
| void CMainSignals::Broadcast | ( | int64_t | nBestBlockTime, |
| CConnman * | connman | ||
| ) |
Definition at line 173 of file validationinterface.cpp.
| size_t CMainSignals::CallbacksPending | ( | ) |
Definition at line 57 of file validationinterface.cpp.
| void CMainSignals::ChainStateFlushed | ( | const CBlockLocator & | locator | ) |
Definition at line 167 of file validationinterface.cpp.
| void CMainSignals::FlushBackgroundCallbacks | ( | ) |
Call any remaining callbacks on the calling thread.
Definition at line 51 of file validationinterface.cpp.
|
private |
| void CMainSignals::NewPoWValidBlock | ( | const CBlockIndex * | pindex, |
| const std::shared_ptr< const CBlock > & | block | ||
| ) |
Definition at line 181 of file validationinterface.cpp.
| 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 42 of file validationinterface.cpp.
| void CMainSignals::RegisterWithMempoolSignals | ( | CTxMemPool & | pool | ) |
Register with mempool to call TransactionRemovedFromMempool callbacks.
Definition at line 62 of file validationinterface.cpp.
| void CMainSignals::TransactionAddedToMempool | ( | const CTransactionRef & | ptx | ) |
Definition at line 149 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 47 of file validationinterface.cpp.
| void CMainSignals::UnregisterWithMempoolSignals | ( | CTxMemPool & | pool | ) |
Unregister with mempool.
Definition at line 66 of file validationinterface.cpp.
| void CMainSignals::UpdatedBlockTip | ( | const CBlockIndex * | pindexNew, |
| const CBlockIndex * | pindexFork, | ||
| bool | fInitialDownload | ||
| ) |
Definition at line 139 of file validationinterface.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 161 of file validationinterface.h.
1.8.14