-
Notifications
You must be signed in to change notification settings - Fork 427
prefactor: Allow multiple htlcs in/out in forwarding events for trampoline #4304
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
Open
carlaKC
wants to merge
14
commits into
lightningdevkit:main
Choose a base branch
from
carlaKC:2299-prefactor-htlcsource
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f99d519
ln/events: multiple htlcs in/out for trampoline PaymentForwarded
carlaKC 0cd524d
ln: make event optional in EmitEventAndFreeOtherChannel
carlaKC 67b5d91
ln/refactor: rename EmitEventAndFreeOtherChannel to note optional event
carlaKC 0069d03
ln+events: allow multiple prev_channel_id in HTLCHandlingFailed
carlaKC 5d5caad
events: add TrampolineForward variant to HTLCHandlingFailureType
carlaKC da3ff5c
ln: add TrampolineForward SendHTLCId variant
carlaKC 4ad5464
ln: add TrampolineForward variant to HTLCSource enum
a-mpch 29a3922
ln/refactor: add claim funds for htlc forward helper
carlaKC 613fc99
ln/refactor: pass closure to create PaymentForwarded event
carlaKC 9a23de4
ln: add trampoline routing payment claiming
carlaKC 0dfa2fc
ln/refactor: add blinded forwarding failure helper function
carlaKC 771488a
ln: add trampoline routing failure handling
carlaKC 56b1b79
ln/refactor: extract channelmonitor recovery to external helper
a-mpch b9a8b09
ln: add channel monitor recovery for trampoline forwards
a-mpch 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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not totally convinced that
default_valueis worth using here?Alternative approach would just be to make
prev/next_htlcsanoptional_vecfill in legacy fields if the vec isn't present.