-
Notifications
You must be signed in to change notification settings - Fork 912
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
EXPERIMENTAL: MPP send and receive support (lowlevel) #3309
Merged
cdecker
merged 22 commits into
ElementsProject:master
from
rustyrussell:part-payment-send
Dec 12, 2019
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
178892b
db: add partid, total_msat fields to payment entries.
rustyrussell ad4ed97
db: add partid field to htlc_out.
rustyrussell 2a03434
htlcs: remove origin_htlc_id from htlc_out.
rustyrussell c654478
lightningd: share more code between sendpay and sendonion.
rustyrussell 04a46f0
lightningd: change amount-in-flight check to be more nuanced.
rustyrussell c61227b
sendpay/sendonion: add optional partid arg, finesse msatoshi argument.
rustyrussell 15fa972
configure: make partid payments only available with EXPERIMENTAL_FEAT…
rustyrussell 3bc4636
waitsendpay: add partid arg.
rustyrussell 94d3897
pytest: Add tests to make sure received onion is as expected.
rustyrussell 2e4416e
doc: update experimental bolt version quotes.
rustyrussell d94ae31
lightningd: cleanup redundant args from handle_localpay
rustyrussell 3c6e33a
lightningd: split invoice check into separate function.
rustyrussell 555b217
lightningd: implement htlc sets.
rustyrussell 73bf9e0
lightningd: wrap htlc replay in a database transaction.
rustyrussell 1839483
lightningd: sew in htlc set.
rustyrussell 8cee375
plugins: listpays ignores pre-0.7.0 or manual sendpay payments w/ no …
rustyrussell 84a2753
plugins: listpays will now consolidate multi-part payments.
rustyrussell c6bbb41
common: offer option_basic_mpp for EXPERIMENTAL_FEATURES.
rustyrussell cbfc84f
pytest: add more multi-part-payment tests.
rustyrussell 2b4ca09
lightningd: require payment_secret for MPP.
rustyrussell 207ae69
lightningd: fix spurious "more than twice final" error.
rustyrussell e6edb76
lightningd: fix failure message in waitsendpay with multi-part payments.
rustyrussell 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
htlcs: remove origin_htlc_id from htlc_out.
This is a transient field, so rework things so we don't leave it in struct htlc_out. Instead, load htlc_in first and connect htlc_out to them as we go. This also changes one place where we use it instead of the am_origin flag. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information
commit 2a034343a6ef27c1a33fb058afa26429182adce7
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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.
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.
Doesn't this require compile guards?