readKnownNodes() is a part of network starting process
This commit is contained in:
parent
5771f21cfb
commit
92647f06c0
|
@ -176,8 +176,6 @@ class Main(object):
|
||||||
defaults.networkDefaultPayloadLengthExtraBytes = int(
|
defaults.networkDefaultPayloadLengthExtraBytes = int(
|
||||||
defaults.networkDefaultPayloadLengthExtraBytes / 100)
|
defaults.networkDefaultPayloadLengthExtraBytes / 100)
|
||||||
|
|
||||||
readKnownNodes()
|
|
||||||
|
|
||||||
# Not needed if objproc is disabled
|
# Not needed if objproc is disabled
|
||||||
if state.enableObjProc:
|
if state.enableObjProc:
|
||||||
|
|
||||||
|
@ -250,6 +248,7 @@ class Main(object):
|
||||||
|
|
||||||
# start network components if networking is enabled
|
# start network components if networking is enabled
|
||||||
if state.enableNetwork:
|
if state.enableNetwork:
|
||||||
|
readKnownNodes()
|
||||||
start_proxyconfig()
|
start_proxyconfig()
|
||||||
BMConnectionPool().connectToStream(1)
|
BMConnectionPool().connectToStream(1)
|
||||||
asyncoreThread = BMNetworkThread()
|
asyncoreThread = BMNetworkThread()
|
||||||
|
|
Reference in New Issue
Block a user