From 501da2503a39dd88470df89ccc923c696fe6b111 Mon Sep 17 00:00:00 2001 From: Eric Lombrozo Date: Wed, 5 Jun 2013 20:21:41 -0700 Subject: Using boost::signals2 to message main from net.cpp. --- src/main.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index f4e80c85ce..f62cfbef6d 100644 --- a/src/main.h +++ b/src/main.h @@ -124,6 +124,11 @@ void UnregisterWallet(CWallet* pwalletIn); /** Push an updated transaction to all registered wallets */ void SyncWithWallets(const uint256 &hash, const CTransaction& tx, const CBlock* pblock = NULL, bool fUpdate = false); +/** Register with a network node to receive its signals */ +void RegisterNodeSignals(CNodeSignals& nodeSignals); +/** Unregister a network node */ +void UnregisterNodeSignals(CNodeSignals& nodeSignals); + void PushGetBlocks(CNode* pnode, CBlockIndex* pindexBegin, uint256 hashEnd); /** Process an incoming block */ -- cgit v1.2.3