now use bootstrap use configuration setting
parent
7e75089eaa
commit
f980c26aa7
|
@ -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:
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"max_block_age": 2678400,
|
||||
"public_key": "",
|
||||
"random_bind_ip": false,
|
||||
"use_bootstrap_list": false
|
||||
"use_bootstrap_list": true
|
||||
},
|
||||
|
||||
"www": {
|
||||
|
|
Loading…
Reference in New Issue