py-libp2p/libp2p
mhchia 3a91f114ab
Swarm: add default_stream_handler
Advantage:
- To avoid `None` checks
- If users forget to register a stream handler for `Swarm`,
with the default stream handler, opened streams aren't removed
until `Swarm` finishes.
2020-02-04 17:05:53 +08:00
..
crypto Mock dependencies that are excluded in readthedocs 2019-11-27 14:07:14 -08:00
host Ping protocol: move with statement out of try 2020-02-04 15:09:42 +08:00
identity Handle StreamClosed in identify protocol handler 2019-11-16 16:56:58 +08:00
io Don't catch trio.BusyResourceError 2020-01-26 23:09:56 +08:00
network Swarm: add default_stream_handler 2020-02-04 17:05:53 +08:00
peer Fix examples and modify new_node 2019-12-24 18:03:18 +08:00
protocol_muxer A mux can provide the protocols it responds to 2019-11-06 11:41:27 -08:00
pubsub Change the channel size of peer queue 2020-01-31 17:42:47 +08:00
routing Remove kademlia module (#377) 2019-12-06 14:14:33 +08:00
security Change default value of read() 2020-01-26 23:03:38 +08:00
stream_muxer Use new type hinting for trio channel 2020-01-26 23:56:19 +08:00
tools Fix IPubsub and add IPubsub.wait_until_ready 2020-01-27 00:10:33 +08:00
transport Merge branch 'master' into feature/porting-to-trio 2019-12-24 02:19:43 +08:00
__init__.py PR feedback: async with host.run() 2020-01-26 16:44:42 +08:00
exceptions.py fixes #384 2019-12-17 12:00:11 +01:00
typing.py Use ReadWriteCloser for conns and streams 2019-09-05 23:24:17 +08:00
utils.py Fix Mplex and Swarm 2019-11-29 19:09:56 +08:00