aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorEric Lombrozo <elombrozo@gmail.com>2013-06-05 20:21:41 -0700
committerEric Lombrozo <elombrozo@gmail.com>2013-06-05 23:15:20 -0700
commit501da2503a39dd88470df89ccc923c696fe6b111 (patch)
tree52bb9f3eb186bc99d1a8a96435fd78ac09532235 /src/main.h
parentaabdf9e899e9024927c26c194ad38142495f80bf (diff)
Using boost::signals2 to message main from net.cpp.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h5
1 files changed, 5 insertions, 0 deletions
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 */