Fabcoin Core
0.16.2
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... | |
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 | ScriptForMining (std::shared_ptr< CReserveScript > &coinbaseScript) |
void | BlockFound (const uint256 &) |
Public Attributes | |
boost::signals2::signal< void(const CTransaction &, const CBlockIndex *pindex, int posInBlock)> | SyncTransaction |
boost::signals2::signal< void(const uint256 &)> | UpdatedTransaction |
Static Public Attributes | |
static const int | SYNC_TRANSACTION_NOT_IN_BLOCK = -1 |
Private Member Functions | |
friend | void::RegisterValidationInterface (CValidationInterface *) |
friend | void::UnregisterValidationInterface (CValidationInterface *) |
friend | void::UnregisterAllValidationInterfaces () |
Private Attributes | |
std::unique_ptr< MainSignalsInstance > | m_internals |
Definition at line 74 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::vector< CTransactionRef > & | vtxConflicted | ||
) |
void CMainSignals::BlockDisconnected | ( | const std::shared_ptr< const CBlock > & | pblock | ) |
void CMainSignals::BlockFound | ( | const uint256 & | hash | ) |
void CMainSignals::Broadcast | ( | int64_t | nBestBlockTime, |
CConnman * | connman | ||
) |
void CMainSignals::FlushBackgroundCallbacks | ( | ) |
Call any remaining callbacks on the calling thread.
Definition at line 52 of file validationinterface.cpp.
void CMainSignals::Inventory | ( | const uint256 & | hash | ) |
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 43 of file validationinterface.cpp.
void CMainSignals::ScriptForMining | ( | std::shared_ptr< CReserveScript > & | coinbaseScript | ) |
void CMainSignals::SetBestChain | ( | const CBlockLocator & | locator | ) |
void CMainSignals::TransactionAddedToMempool | ( | const CTransactionRef & | ptx | ) |
void CMainSignals::UnregisterBackgroundSignalScheduler | ( | ) |
Unregister a CScheduler to give callbacks which should run in the background - these callbacks will now be dropped!
Definition at line 48 of file validationinterface.cpp.
void CMainSignals::UpdatedBlockTip | ( | const CBlockIndex * | pindexNew, |
const CBlockIndex * | pindexFork, | ||
bool | fInitialDownload | ||
) |
|
private |
Definition at line 76 of file validationinterface.h.
|
static |
Definition at line 83 of file validationinterface.h.
boost::signals2::signal<void (const CTransaction &, const CBlockIndex *pindex, int posInBlock)> CMainSignals::SyncTransaction |
Definition at line 84 of file validationinterface.h.
boost::signals2::signal<void (const uint256 &)> CMainSignals::UpdatedTransaction |
Definition at line 85 of file validationinterface.h.