-
Notifications
You must be signed in to change notification settings - Fork 421
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
ViktorT-11
wants to merge
21
commits into
lightningdevkit:main
from
ViktorT-11: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
ViktorT-11 0780fb9
Rename `short_to_id` map to `short_to_chan_info`
ViktorT-11 7833589
Add id_to_peer map
ViktorT-11 b0975eb
Add `ChannelManager:id_to_peer` map coverage test
ViktorT-11 d3667d9
Add `counterparty_node` to test macros
ViktorT-11 6c62533
Store channels per-peer
ViktorT-11 519fcb4
f - Store per peer: aquire locks inside get_channel_ref
ViktorT-11 c37b984
f - Make per_peer_state a FairRwLock
ViktorT-11 f7b51d2
f - Remove unreacable branches that can be reached
ViktorT-11 2c112d7
f - Store channels per-peer: Update per_peer_state docs
ViktorT-11 7b594ee
Remove unnecessary `per_peer_state` branch
ViktorT-11 7e9ac7b
Avoid retaking locks
ViktorT-11 6c4b80d
Update failure to query `Channel` error messages
ViktorT-11 4991456
Add duplicate temporary_channel_id for 2 peers test
ViktorT-11 ae665ce
Add handle unkown peer test
ViktorT-11 ef4107a
Enable htlc forwarding over substitute channels
ViktorT-11 1d44945
Test htlc forwarding over substitute channels
ViktorT-11 1dec1f9
f - Move creation of CommitmentUpdate structs
ViktorT-11 6b9a261
-f DRY up htlc_msg macros
ViktorT-11 13dbfe3
f - cleanup channel selection order
ViktorT-11 92a067c
f - cleanup tests
ViktorT-11 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!