Update libp2p/pubsub/floodsub.py
Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
parent
c252c62009
commit
ffb3920468
|
@ -102,7 +102,7 @@ class FloodSub(IPubsubRouter):
|
||||||
origin: ID) -> Iterable[ID]:
|
origin: ID) -> Iterable[ID]:
|
||||||
"""
|
"""
|
||||||
Get the eligible peers to send the data to.
|
Get the eligible peers to send the data to.
|
||||||
:param src: the peer id of the peer who forwards the message to me.
|
:param src: peer ID of the peer who forwards the message to us
|
||||||
:param origin: the peer id of the peer who originally broadcast the message.
|
:param origin: the peer id of the peer who originally broadcast the message.
|
||||||
:return: a generator of the peer ids who we send data to.
|
:return: a generator of the peer ids who we send data to.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user