aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-10-14 20:39:00 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-10-14 20:39:00 -0700
commitb9beea6e9d0f789f11d249b040e549d535bdc295 (patch)
treee87c3422b52b1f6d78b88b9cea756c1f3cb8d37b /src/net.h
parentae6601872be4065f90713b9b6ef07e9883afec79 (diff)
parent4c6d41b8b653ef90639b1a32f6aab0bb1cef90c5 (diff)
Merge pull request #3077 from sipa/chain
Refactor/encapsulate chain globals into a CChain class
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index b57f38fe3a..c4dd2d8a24 100644
--- a/src/net.h
+++ b/src/net.h
@@ -28,7 +28,6 @@ static const unsigned int MAX_INV_SZ = 50000;
class CNode;
class CBlockIndex;
-extern int nBestHeight;
@@ -52,6 +51,7 @@ void SocketSendData(CNode *pnode);
// Signals for message handling
struct CNodeSignals
{
+ boost::signals2::signal<int ()> GetHeight;
boost::signals2::signal<bool (CNode*)> ProcessMessages;
boost::signals2::signal<bool (CNode*, bool)> SendMessages;
};