now use bootstrap use configuration setting

master
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,6 +51,7 @@ def connect_new_peer_to_communicator(comm_inst, peer='', useBootstrap=False):
if len(peerList) == 0 or useBootstrap: if len(peerList) == 0 or useBootstrap:
# Avoid duplicating bootstrap addresses in peerList # Avoid duplicating bootstrap addresses in peerList
if config.get('general.use_bootstrap_list', True):
bootstrappeers.add_bootstrap_list_to_peer_list(comm_inst, peerList) bootstrappeers.add_bootstrap_list_to_peer_list(comm_inst, peerList)
for address in peerList: for address in peerList:

View File

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