mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Run docformatter over changes
This commit is contained in:
@ -46,9 +46,8 @@ async def set_up_nodes_by_transport_and_disc_opt(transport_disc_opt_list):
|
|||||||
|
|
||||||
|
|
||||||
async def set_up_routers(router_confs=[0, 0]):
|
async def set_up_routers(router_confs=[0, 0]):
|
||||||
"""
|
"""The default ``router_confs`` selects two free ports local to this
|
||||||
The default ``router_confs`` selects two free ports local to this machine.
|
machine."""
|
||||||
"""
|
|
||||||
bootstrap_node = KademliaServer()
|
bootstrap_node = KademliaServer()
|
||||||
await bootstrap_node.listen(router_confs[0])
|
await bootstrap_node.listen(router_confs[0])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user