-
Notifications
You must be signed in to change notification settings - Fork 491
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
Make payment secret mandatory and update Bolt 11 test vectors #887
Conversation
Add payment secrets (see lightning/bolts#887)
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.
Seems OK, but the checksums and signatures in the breakdowns are incorrect.
Let me write a tool to generate these, and I can create another diff...
Right, good catch. Don't worry, I'll fix these today! |
Already done, might as well take my changes! Also, validated the vectors, thanks! See the guilt/pr-887 branch for three more commits: https://github.com/lightningnetwork/lightning-rfc/tree/guilt/pr-887 |
fe4a664
to
02b8026
Compare
Great, I had done it in parallel and I just checked your commits, we find the same results so we should be good to go ;) |
Update Bolt 11 test vectors to always include a payment secret. We want to make it mandatory in invoices which would make the existing test vectors invalid.
424898a
to
42bd71d
Compare
Ack 42bd71d |
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.
Ack ec1d4dc
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.
Didn't check the new vectors, but text changes look good.
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.
LGTM 🐳
Add payment secrets (see lightning/bolts#887)
Add payment secrets (see lightning/bolts#887)
Add payment secrets (see lightning/bolts#887) Add feature bits (see lightning/bolts#898)
Update Bolt 11 test vectors to always include a payment secret.
We want to make it mandatory in invoices which would make the existing test vectors invalid.