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 routing graph with rate-limited gossip #5239

Merged

Commits on Jul 4, 2022

  1. gossip_store: add flag for spam gossip, update to v10

    This will be used to decouple internal use of gossip from what is
    passed to gossip peers. Updates GOSSIP_STORE_VERION to 10.
    
    Changelog-Changed: gossip_store updated to version 10.
    endothermicdev committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    ee908a6 View commit details
    Browse the repository at this point in the history
  2. gossipd: make use of new ratelimit bit in gossip_store length mask

    routing.c now flags rate-limited gossip as it enters the gossip_store but
    makes use of it in updating the routing graph. Flagged gossip is not
    rebroadcast to gossip peers.
    
    Changelog-Changed: gossipd: now accepts spam gossip, but squelches it for
    peers.
    endothermicdev committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    a1eae04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca93240 View commit details
    Browse the repository at this point in the history
  4. gossipd: store and index most recent and last non-rate-limited gossip

    This grows the routing state in order to index both okay-to-broadcast
    and rate-limited gossip. The gossip_store also logs the rate-limited
    gossip if useful. This allows the broadcast of the last non-rate-limited
    gossip.
    endothermicdev committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    d7ec151 View commit details
    Browse the repository at this point in the history