Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update gossip (part 1) #300

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

update gossip (part 1) #300

wants to merge 4 commits into from

Conversation

turuslan
Copy link
Contributor

@turuslan turuslan commented Mar 17, 2025

  • update gossipsub #297
  • compare with rust-libp2p (old floodsub) (gossipsub)
  • test gossip peer against mock streams/peers
  • respect peer protocol version
  • (rust) separate MessageCache (id and message data, gossip ihave, reply to iwant) and DuplicateCache (id only)
  • (rust) gossip in heartbeat instead of publish/forward, may gossip same message to more peers in more heartbeats
  • fanout peers (publish when we are not subscribed, like mesh but without explicit graft)
  • send prune with backoff
  • flood publishing (not same as floodsub)
  • fix Connectivity/Stream/GossipCore shared_ptr cycle/leak.
  • remove hasTopic, add isSubscribed
  • remove empty, add isUsed
  • simplify stream write batch
  • fix MessageReadWriterUvarint returned null for zero size message
  • stubs: ExplicitPeers, Score

Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
@turuslan turuslan requested a review from kamilsa March 19, 2025 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant