aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-06-08 19:12:22 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-06-13 17:40:16 +0200
commitee06e04369c37da21e048fda849cce2a1f066f84 (patch)
treee38a64000268b4c41c00184b3d2f9da118bd98ce /src/net.h
parent15bf863219abe968ebe9e59fed4806c9fd07a58b (diff)
downloadbitcoin-ee06e04369c37da21e048fda849cce2a1f066f84.tar.xz
Introduce enum ServiceFlags for service flags
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net.h b/src/net.h
index 445d25bf82..f5fb8faae2 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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