add seed_mode flag (--p2p.seed_mode)

This commit is contained in:
Anton Kaliaev
2018-02-08 17:20:55 +04:00
parent 9e767771fc
commit cf1f483526
6 changed files with 32 additions and 5 deletions
+9
View File
@@ -112,6 +112,15 @@ like the file below, however, double check by inspecting the
# Rate at which packets can be received, in bytes/second
recv_rate = 512000
# Set true to enable the peer-exchange reactor
pex = true
# Seed mode, in which node constantly crawls the network and looks for
# peers. If another node asks it for addresses, it responds and disconnects.
#
# Does not work if the peer-exchange reactor is disabled.
seed_mode = false
##### mempool configuration options #####
[mempool]