aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-06-13 16:01:21 +0200
committerPieter Wuille <[email protected]>2016-06-13 17:40:16 +0200
commitecd7fd37c888f8ebc64cf3d92272975b37ae54ca (patch)
treef965abcecc43584d8f9f9a42629df169fdcc249e /src/net.h
parentIntroduce enum ServiceFlags for service flags (diff)
downloaddiscoin-ecd7fd37c888f8ebc64cf3d92272975b37ae54ca.tar.xz
discoin-ecd7fd37c888f8ebc64cf3d92272975b37ae54ca.zip
Introduce REQUIRED_SERVICES constant
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index f5fb8faae..2aaca4888 100644
--- a/src/net.h
+++ b/src/net.h
@@ -72,6 +72,8 @@ static const bool DEFAULT_FORCEDNSSEED = false;
static const size_t DEFAULT_MAXRECEIVEBUFFER = 5 * 1000;
static const size_t DEFAULT_MAXSENDBUFFER = 1 * 1000;
+static const ServiceFlags REQUIRED_SERVICES = NODE_NETWORK;
+
// NOTE: When adjusting this, update rpcnet:setban's help ("24h")
static const unsigned int DEFAULT_MISBEHAVING_BANTIME = 60 * 60 * 24; // Default 24-hour ban