-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
channeldb+invoices: add spontaneous AMP receiving + sending via SendToRoute #5108
channeldb+invoices: add spontaneous AMP receiving + sending via SendToRoute #5108
Commits on Apr 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8fe4de8 - Browse repository at this point
Copy the full SHA 8fe4de8View commit details -
record/amp: use switch from 10 -> 14 for AMP TLV type
This is to not conflict with trampoline BOLT.
Configuration menu - View commit details
-
Copy full SHA for 82b4f11 - Browse repository at this point
Copy the full SHA 82b4f11View commit details -
htlcswitch/hop: make unknown required type const
Currently we use the AMP record type, this allows us to change it easily as we add new known records. We also bump this to 0x0c instead of 0x0a.
Configuration menu - View commit details
-
Copy full SHA for 135a0a9 - Browse repository at this point
Copy the full SHA 135a0a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2729cb - Browse repository at this point
Copy the full SHA c2729cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 438b03a - Browse repository at this point
Copy the full SHA 438b03aView commit details -
Configuration menu - View commit details
-
Copy full SHA for be66984 - Browse repository at this point
Copy the full SHA be66984View commit details -
channeldb: make payhash on InvoiceRef optional
Currently we support queries by payHash or payHash+payAddr. For handling of AMP HTLCs, we only need to support querying by payAddr.
Configuration menu - View commit details
-
Copy full SHA for 174d577 - Browse repository at this point
Copy the full SHA 174d577View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bed359 - Browse repository at this point
Copy the full SHA 7bed359View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e2f5a1 - Browse repository at this point
Copy the full SHA 7e2f5a1View commit details -
invoices: add checkSettleResolution and checkFailResolution
Also refactor existing unit tests to use them.
Configuration menu - View commit details
-
Copy full SHA for 3fb70dd - Browse repository at this point
Copy the full SHA 3fb70ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88b72ab - Browse repository at this point
Copy the full SHA 88b72abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24d283e - Browse repository at this point
Copy the full SHA 24d283eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6780f74 - Browse repository at this point
Copy the full SHA 6780f74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b5be85 - Browse repository at this point
Copy the full SHA 0b5be85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a49b59 - Browse repository at this point
Copy the full SHA 2a49b59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a2550 - Browse repository at this point
Copy the full SHA 90a2550View commit details -
invoices: add TestSpontaneousAmpPayment
Adds a set of test cases that exercise the spontaneous AMP payment flow with valid and invalid reconstructions, as well as with single and multiple HTLCs. This also asserts that spontaneous AMP is gated behind the existing AcceptKeysend flag.
Configuration menu - View commit details
-
Copy full SHA for ea934e1 - Browse repository at this point
Copy the full SHA ea934e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfa9e95 - Browse repository at this point
Copy the full SHA cfa9e95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00581ef - Browse repository at this point
Copy the full SHA 00581efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 352ce10 - Browse repository at this point
Copy the full SHA 352ce10View commit details -
lntest: make buildRoute method on mppTestContext
This will be reused by the amp itest.
Configuration menu - View commit details
-
Copy full SHA for 888af51 - Browse repository at this point
Copy the full SHA 888af51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 730b718 - Browse repository at this point
Copy the full SHA 730b718View commit details