diff options
| author | Eric Lombrozo <[email protected]> | 2013-06-05 20:21:41 -0700 |
|---|---|---|
| committer | Eric Lombrozo <[email protected]> | 2013-06-05 23:15:20 -0700 |
| commit | 501da2503a39dd88470df89ccc923c696fe6b111 (patch) | |
| tree | 52bb9f3eb186bc99d1a8a96435fd78ac09532235 /src/main.h | |
| parent | Moved UpdateTime out of CBlockHeader and moved CBlockHeader into core. (diff) | |
| download | discoin-501da2503a39dd88470df89ccc923c696fe6b111.tar.xz discoin-501da2503a39dd88470df89ccc923c696fe6b111.zip | |
Using boost::signals2 to message main from net.cpp.
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index f4e80c85c..f62cfbef6 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 */ |