mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Refactor/encapsulate chain globals into a CChain class
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user