-
Notifications
You must be signed in to change notification settings - Fork 443
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
32
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
32 commits
Select commit
Hold shift + click to select a range
c1e0cf4
ln/events: multiple htlcs in/out for trampoline PaymentForwarded
carlaKC 2e0126a
f add note on when Option fields are None
carlaKC 90a778c
f Write garbage data rather than failing to write PaymentForwarded
carlaKC 35d6c5a
f Use zero channel ID instead of unwrap for unexpected None channel_id
carlaKC 56fc070
f Fail to read if new and legacy fields are not populated
carlaKC 6f9a4cd
ln: make event optional in EmitEventAndFreeOtherChannel
carlaKC f4b24a7
ln/refactor: rename EmitEventAndFreeOtherChannel to note optional event
carlaKC 76b0105
ln: make channel required in `MonitorUpdateCompletionAction`
carlaKC bfacf13
ln/refactor: rename FreeOtherChannelImmediately to FreeDuplicateClaim…
carlaKC 2805d6a
ln+events: allow multiple prev_channel_id in HTLCHandlingFailed
carlaKC 897b761
f Write garbage data rather than failing to write HTLCHandlingFailed
carlaKC 7f88d37
events: add TrampolineForward variant to HTLCHandlingFailureType
carlaKC 4d58be6
ln: add TrampolineForward SendHTLCId variant
carlaKC 0731980
ln: add TrampolineForward variant to HTLCSource enum
a-mpch 38e4ee2
ln: add failure_type helper to HTLCSource for HTLCHandlingFailureType
carlaKC 3b62b34
f Use failure_type var name throughout for HTLCHandlingFailureType
carlaKC 335b438
f add assert that we only handle regular forwards in channel not found
carlaKC 2b4bca7
ln/refactor: add claim funds for htlc forward helper
carlaKC 89ed28a
ln/refactor: pass closure to create PaymentForwarded event
carlaKC e4edd86
f Use FnOnce to avoid clone
carlaKC f2e28ef
ln: add trampoline routing payment claiming
carlaKC ed92dac
f block on inbound claim for trampoline update_fulfill_htlc
carlaKC 8d0590f
f Add note on forwarded_htlc_value_msat
carlaKC 9e30218
ln/refactor: add blinded forwarding failure helper function
carlaKC ebe48e4
ln: add trampoline routing failure handling
carlaKC 3422b42
ln/refactor: extract channelmonitor recovery to external helper
a-mpch dcc2031
f Remove duplicate prune_forwarded_htlc
carlaKC 0ea9cf5
ln: add channel monitor recovery for trampoline forwards
a-mpch bb5a827
ln/refactor: move outgoing payment replay code into helper function
carlaKC 8a5b642
f No longer handle claims with missing counterparty_node_id
carlaKC c010889
f Clarify comment about prev_htlcs from same HTLCSource
carlaKC 3f9ca25
ln: handle trampoline claims on restart
carlaKC 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.
Uh oh!
There was an error while loading. Please reload this page.