8 #include <boost/bind/bind.hpp>
19 pwalletIn, boost::placeholders::_1,
20 boost::placeholders::_2,
21 boost::placeholders::_3));
23 pwalletIn, boost::placeholders::_1,
24 boost::placeholders::_2,
25 boost::placeholders::_3));
27 pwalletIn, boost::placeholders::_1));
29 pwalletIn, boost::placeholders::_1));
31 pwalletIn, boost::placeholders::_1));
33 pwalletIn, boost::placeholders::_1, boost::placeholders::_2));
35 pwalletIn, boost::placeholders::_1,
36 boost::placeholders::_2));
38 pwalletIn, boost::placeholders::_1));
40 pwalletIn, boost::placeholders::_1));
42 pwalletIn, boost::placeholders::_1,
43 boost::placeholders::_2));
48 pwalletIn, boost::placeholders::_1));
50 pwalletIn, boost::placeholders::_1));
52 pwalletIn, boost::placeholders::_1,
53 boost::placeholders::_2));
55 pwalletIn, boost::placeholders::_1,
56 boost::placeholders::_2));
58 pwalletIn, boost::placeholders::_1));
60 pwalletIn, boost::placeholders::_1));
62 pwalletIn, boost::placeholders::_1));
64 pwalletIn, boost::placeholders::_1,
65 boost::placeholders::_2,
66 boost::placeholders::_3));
68 pwalletIn, boost::placeholders::_1,
69 boost::placeholders::_2,
70 boost::placeholders::_3));
72 pwalletIn, boost::placeholders::_1,
73 boost::placeholders::_2));
80 g_signals.
Broadcast.disconnect_all_slots();
81 g_signals.
Inventory.disconnect_all_slots();
virtual void NewPoWValidBlock(const CBlockIndex *pindex, const std::shared_ptr< const CBlock > &block)
virtual void GetScriptForMining(boost::shared_ptr< CReserveScript > &)
virtual void ResendWalletTransactions(int64_t nBestBlockTime, CConnman *connman)
virtual void SyncTransaction(const CTransaction &tx, const CBlockIndex *pindex, int posInBlock)
virtual void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload)
virtual void UpdatedTransaction(const uint256 &hash)
virtual void SetBestChain(const CBlockLocator &locator)
virtual void Inventory(const uint256 &hash)
virtual void BlockChecked(const CBlock &, const CValidationState &)
virtual void ResetRequestCount(const uint256 &hash)
boost::signals2::signal< void(const CBlockLocator &)> SetBestChain
Notifies listeners of a new active block chain.
boost::signals2::signal< void(const uint256 &)> BlockFound
Notifies listeners that a block has been successfully mined.
boost::signals2::signal< void(const uint256 &)> Inventory
Notifies listeners about an inventory item being seen on the network.
boost::signals2::signal< void(boost::shared_ptr< CReserveScript > &)> ScriptForMining
Notifies listeners that a key for mining is required (coinbase)
boost::signals2::signal< void(const uint256 &)> UpdatedTransaction
Notifies listeners of an updated transaction without new data (for now: a coinbase potentially becomi...
boost::signals2::signal< void(const CBlock &, const CValidationState &)> BlockChecked
Notifies listeners of a block validation result.
boost::signals2::signal< void(const CBlockIndex *, const std::shared_ptr< const CBlock > &)> NewPoWValidBlock
Notifies listeners that a block which builds directly on our current tip has been received and connec...
boost::signals2::signal< void(int64_t nBestBlockTime, CConnman *connman)> Broadcast
Tells listeners to broadcast their data.
boost::signals2::signal< void(const CBlockIndex *, const CBlockIndex *, bool fInitialDownload)> UpdatedBlockTip
Notifies listeners of updated block chain tip.
boost::signals2::signal< void(const CTransaction &, const CBlockIndex *pindex, int posInBlock)> SyncTransaction
Notifies listeners of updated transaction data (transaction, and optionally the block it is found in)...
CMainSignals & GetMainSignals()
void UnregisterValidationInterface(CValidationInterface *pwalletIn)
Unregister a wallet from core.
void UnregisterAllValidationInterfaces()
Unregister all wallets from core.
void RegisterValidationInterface(CValidationInterface *pwalletIn)
Register a wallet to receive updates from core.