aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorDhruv Mehta <856960+dhruv@users.noreply.github.com>2020-09-05 09:51:33 -0700
committerDhruv Mehta <856960+dhruv@users.noreply.github.com>2021-02-11 16:10:40 -0800
commitfe3e993968d6b46777d5a16a662cd22790ddf5bb (patch)
treed0d052a5545aab0bd3efd5902cf8045a0ea28aa4 /src/net.h
parent6c6140846f37de8c132b3b6abf09f3d7940554a7 (diff)
[p2p] No delay in adding fixed seeds if -dnsseed=0 and peers.dat is empty. Add -fixedseeds arg.
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 a0aa157058..1678eda8e7 100644
--- a/src/net.h
+++ b/src/net.h
@@ -80,6 +80,8 @@ static const int64_t DEFAULT_PEER_CONNECT_TIMEOUT = 60;
static const int NUM_FDS_MESSAGE_CAPTURE = 1;
static const bool DEFAULT_FORCEDNSSEED = false;
+static const bool DEFAULT_DNSSEED = true;
+static const bool DEFAULT_FIXEDSEEDS = true;
static const size_t DEFAULT_MAXRECEIVEBUFFER = 5 * 1000;
static const size_t DEFAULT_MAXSENDBUFFER = 1 * 1000;