py-libp2p/libp2p/pubsub
mhchia 3a42d72cd9
Fix a minor bug for pb optional field
In `Pubsub.continuously_read_stream`, it checks whether this is a
control message enclosed in RPC message with `if rpc_incoming.control:`.
However, in pb2, the condition is always true because a default value is
returned when a field is not set. Solved it by changing it to
`if rpc_incoming.HasField("control"):`.
2019-07-31 14:15:11 +08:00
..
pb Add the missing __init__.py in pb 2019-07-11 17:50:36 +08:00
__init__.py [WIP] PubSub and FloodSub development (#133) 2019-03-23 13:52:02 -04:00
floodsub.py Fix after rebase 2019-07-30 17:31:08 +08:00
gossipsub.py Apply PR feedback 2019-07-30 23:41:28 +08:00
mcache.py Fix type hints except pb msg in pubsub folder 2019-07-30 16:24:34 +08:00
pubsub_notifee.py Fix: 2019-07-30 18:00:30 +08:00
pubsub_router_interface.py Fix after rebase 2019-07-30 17:31:08 +08:00
pubsub.py Fix a minor bug for pb optional field 2019-07-31 14:15:11 +08:00