Skip to content

update gossipsub #297

@turuslan

Description

@turuslan
  • general
    • (compare with other versions, e.g. rust)
    • allow multiple protocol versions in config, remember peer protocol version
  • /floodsub/1.0.0 (spec)
    • broadcast message to all floodsub peers
  • /meshsub/1.0.0 (spec)
    • publish to fanout when not subscribed
  • /meshsub/1.1.0 (spec)
    • (check PRUNE backoff works as expected)
    • explicit peers - always connect and broadcast without GRAFT
    • flood publishing - broadcast authored message to all connected peers
    • peer scoring
    • adaptive gossip dissemination - gossip to percentage of peers instead of count
    • opportunistic GRAFT to improve mesh median score
    • maintain specified number of outbound connections to avoid eclipse attack
  • /meshsub/1.2.0 (spec)
    • IDONTWANT to prevent duplicate broadcast
      • broadcast IDONTWANT to mesh peers after receiving full message
      • don't broadcast these message to that peer after receiving IDONTWANT
    • IDONTWANT to cancel IWANT
      • send IDONTWANT to cancel pending IWANT after receiving full message
      • don't reply to IWANT for these messages for that peer after receiving IDONTWANT
    • config max IDONTWANT messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions