now use bootstrap use configuration setting

This commit is contained in:
Kevin Froman 2019-09-22 15:48:56 -05:00
parent 7e75089eaa
commit f980c26aa7
2 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,8 @@ def connect_new_peer_to_communicator(comm_inst, peer='', useBootstrap=False):
if len(peerList) == 0 or useBootstrap:
# Avoid duplicating bootstrap addresses in peerList
bootstrappeers.add_bootstrap_list_to_peer_list(comm_inst, peerList)
if config.get('general.use_bootstrap_list', True):
bootstrappeers.add_bootstrap_list_to_peer_list(comm_inst, peerList)
for address in peerList:
if not config.get('tor.v3onions') and len(address) == 62:

View File

@ -13,7 +13,7 @@
"max_block_age": 2678400,
"public_key": "",
"random_bind_ip": false,
"use_bootstrap_list": false
"use_bootstrap_list": true
},
"www": {