-
Notifications
You must be signed in to change notification settings - Fork 409
Forward over substitute channels #1578
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
ViktorTigerstrom
wants to merge
21
commits into
lightningdevkit:main
from
ViktorTigerstrom:2022-06-forward-over-substitute-channels
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
9864a26
Add `counterparty_node_id` to `short_to_id` map
ViktorTigerstrom 0780fb9
Rename `short_to_id` map to `short_to_chan_info`
ViktorTigerstrom 7833589
Add id_to_peer map
ViktorTigerstrom b0975eb
Add `ChannelManager:id_to_peer` map coverage test
ViktorTigerstrom d3667d9
Add `counterparty_node` to test macros
ViktorTigerstrom 6c62533
Store channels per-peer
ViktorTigerstrom 519fcb4
f - Store per peer: aquire locks inside get_channel_ref
ViktorTigerstrom c37b984
f - Make per_peer_state a FairRwLock
ViktorTigerstrom f7b51d2
f - Remove unreacable branches that can be reached
ViktorTigerstrom 2c112d7
f - Store channels per-peer: Update per_peer_state docs
ViktorTigerstrom 7b594ee
Remove unnecessary `per_peer_state` branch
ViktorTigerstrom 7e9ac7b
Avoid retaking locks
ViktorTigerstrom 6c4b80d
Update failure to query `Channel` error messages
ViktorTigerstrom 4991456
Add duplicate temporary_channel_id for 2 peers test
ViktorTigerstrom ae665ce
Add handle unkown peer test
ViktorTigerstrom ef4107a
Enable htlc forwarding over substitute channels
ViktorTigerstrom 1d44945
Test htlc forwarding over substitute channels
ViktorTigerstrom 1dec1f9
f - Move creation of CommitmentUpdate structs
ViktorTigerstrom 6b9a261
-f DRY up htlc_msg macros
ViktorTigerstrom 13dbfe3
f - cleanup channel selection order
ViktorTigerstrom 92a067c
f - cleanup tests
ViktorTigerstrom 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
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.
Definitely not happy with this downcast solution, but couldn't get a match statement to work. If you can think of a better way of doing this, or if you prefer avoiding this DRY up, please let me know!