Skip to content

Commit

Permalink
Merge pull request #219 from aarshkshah1992/fix/gossip-peer-filtering
Browse files Browse the repository at this point in the history
Reflect the predicate adjustment in peer filtering for emitting gossip
  • Loading branch information
vyzo authored Dec 4, 2019
2 parents 7d0cb52 + 8d12a87 commit 4ba1961
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pubsub/gossipsub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ of the mesh:
for each topic in mesh+fanout:
let mids be mcache.window[topic]
if mids is not empty:
select D peers from peers.gossipsub[topic]
for each peer not in mesh[topic] or fanout[topic]
select D peers from peers.gossipsub[topic] not in mesh[topic] or fanout[topic]
for each peer
emit IHAVE(mids)
shift the mcache
Expand Down

0 comments on commit 4ba1961

Please sign in to comment.