mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Introduce enum ServiceFlags for service flags
This commit is contained in:
@@ -152,7 +152,7 @@ CAddress GetLocalAddress(const CNetAddr *paddrPeer = NULL);
|
||||
|
||||
extern bool fDiscover;
|
||||
extern bool fListen;
|
||||
extern uint64_t nLocalServices;
|
||||
extern ServiceFlags nLocalServices;
|
||||
extern bool fRelayTxes;
|
||||
extern uint64_t nLocalHostNonce;
|
||||
extern CAddrMan addrman;
|
||||
@@ -186,7 +186,7 @@ class CNodeStats
|
||||
{
|
||||
public:
|
||||
NodeId nodeid;
|
||||
uint64_t nServices;
|
||||
ServiceFlags nServices;
|
||||
bool fRelayTxes;
|
||||
int64_t nLastSend;
|
||||
int64_t nLastRecv;
|
||||
@@ -316,8 +316,8 @@ class CNode
|
||||
{
|
||||
public:
|
||||
// socket
|
||||
uint64_t nServices;
|
||||
uint64_t nServicesExpected;
|
||||
ServiceFlags nServices;
|
||||
ServiceFlags nServicesExpected;
|
||||
SOCKET hSocket;
|
||||
CDataStream ssSend;
|
||||
size_t nSendSize; // total size of all vSendMsg entries
|
||||
|
||||
Reference in New Issue
Block a user