Start peer discovery whilst syncing the mempool
This commit is contained in:
parent
0963ce5230
commit
3e535e47f4
@ -113,8 +113,8 @@ class Controller(ServerBase):
|
|||||||
'''
|
'''
|
||||||
self.session_mgr.start_rpc_server()
|
self.session_mgr.start_rpc_server()
|
||||||
await self.bp.catch_up_to_daemon()
|
await self.bp.catch_up_to_daemon()
|
||||||
await self.mempool.start_and_wait_for_sync()
|
|
||||||
self.peer_mgr.start_peer_discovery()
|
self.peer_mgr.start_peer_discovery()
|
||||||
|
await self.mempool.start_and_wait_for_sync()
|
||||||
self.session_mgr.start_serving()
|
self.session_mgr.start_serving()
|
||||||
|
|
||||||
async def shutdown(self):
|
async def shutdown(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user