-
Notifications
You must be signed in to change notification settings - Fork 411
Add default implementation for tracking metadata #636
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
Closed
sourabhmarathe
wants to merge
16
commits into
lightningdevkit:master
from
sourabhmarathe:channel-fee-penalty
Closed
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
e76ac4e
Add default implementation for tracking metadata
sourabhmarathe 42f7d56
Track failed portion of MPP, not entire MPP
sourabhmarathe a424c63
Remove failed route tracking methods
sourabhmarathe 51c8d1b
Remove functions that would never be called
sourabhmarathe 1a1dc96
Return u64::MAX if chan is on failed list
sourabhmarathe 4664e99
Change output of get_channel_fee_penalty
sourabhmarathe 37c6de6
Add failed_route()
sourabhmarathe 4397c0e
Add RoutingFeePenalty param to get_route
sourabhmarathe 84b7f6b
Add fee penalty to htlc minimum in get_route()
sourabhmarathe 33deb1f
Do not add route to failed list on success
sourabhmarathe 5e229fc
Move penalty fee check to correct place in code
sourabhmarathe 6beca99
Address ariard review
sourabhmarathe 9e7e2f6
Add constructor for DefaultMetadata
sourabhmarathe 7529726
Add DefaultMetadata param to get_route calls
sourabhmarathe 8dd338c
Use checked_add when calculating new_fee in get_route()
sourabhmarathe bb5c725
Remove channel from failed channels on success
sourabhmarathe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.