-
Notifications
You must be signed in to change notification settings - Fork 494
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
Closed
Commits on Jan 18, 2023
-
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>
Configuration menu - View commit details
-
Copy full SHA for a96f8f9 - Browse repository at this point
Copy the full SHA a96f8f9View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8109e87 - Browse repository at this point
Copy the full SHA 8109e87View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 973b8ca - Browse repository at this point
Copy the full SHA 973b8caView commit details -
bolt11: add upfront fee policy for final hop to invoice
TODO: routing hints will also need updating
Configuration menu - View commit details
-
Copy full SHA for 8ff01b2 - Browse repository at this point
Copy the full SHA 8ff01b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff2394b - Browse repository at this point
Copy the full SHA ff2394bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57be678 - Browse repository at this point
Copy the full SHA 57be678View commit details -
Configuration menu - View commit details
-
Copy full SHA for c400cae - Browse repository at this point
Copy the full SHA c400caeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6890e60 - Browse repository at this point
Copy the full SHA 6890e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc31129 - Browse repository at this point
Copy the full SHA dc31129View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.