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

draft: Upfront Fees to Mitigate Channel Jamming #1052

Closed
wants to merge 9 commits into from

Commits on Jan 18, 2023

  1. proposals: channel jamming mitigation

    This commit adds a proposal summarizing the problem of channel
    jamming in lightning and proposing a combined approach using upfront
    fees and local reputation tracking. The details of local reputation
    tracking will be covered in a follow up PR.
    
    Co-authored-by: Clara Shikhelman <clara.shikhelman@gmail.com>
    carlaKC and ClaraShk committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    a96f8f9 View commit details
    Browse the repository at this point in the history
  2. features: add option upfront fee

    Upfront fees will require feature bit signaling because nodes need
    to know that their peers understand how to update their channel
    state machine with this new protocol feature.
    carlaKC committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    8109e87 View commit details
    Browse the repository at this point in the history
  3. bolt07: advertise upfront fee policies in channel_update

    Add the ability for nodes to advertise custom fee policies. A default
    value of 1% (for nodes that advertise that they understand the feature
    bit) is used to save the network the resources consumed relaying
    defaults. The TLV extension is odd to ensure that old nodes can still
    parse the extended gossip.
    carlaKC committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    973b8ca View commit details
    Browse the repository at this point in the history
  4. bolt11: add upfront fee policy for final hop to invoice

    TODO: routing hints will also need updating
    carlaKC committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    8ff01b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ff2394b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    57be678 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c400cae View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6890e60 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dc31129 View commit details
    Browse the repository at this point in the history