Skip to content
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

BOLT 11: make UPPERCASE explicit. #677

Merged
merged 1 commit into from
Aug 3, 2020

Conversation

rustyrussell
Copy link
Collaborator

Explicitly mirror the BIP-173 advice for QR codes, and note the reader
requirements. In addition, we change the case of one of the examples
to ensure testing.

Fixes: #659
Alternative-to: #661

rustyrussell added a commit to rustyrussell/lightning-rfc that referenced this pull request Feb 2, 2020
One for uppercase, and one with should-be-ignored fields.

The first of these addresses lightning#659 (lightning#677 directly changes the text
to make it clear this is allowed, and should also be applied).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
rustyrussell added a commit to rustyrussell/lightning-rfc that referenced this pull request May 11, 2020
One for uppercase, and one with should-be-ignored fields.

The first of these addresses lightning#659 (lightning#677 directly changes the text
to make it clear this is allowed, and should also be applied).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
rustyrussell added a commit that referenced this pull request May 11, 2020
One for uppercase, and one with should-be-ignored fields.

The first of these addresses #659 (#677 directly changes the text
to make it clear this is allowed, and should also be applied).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@cdecker
Copy link
Collaborator

cdecker commented Aug 3, 2020

ACK 9a84c66

Copy link
Collaborator

@t-bast t-bast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, just need to validate the new test vectors on eclair.

Test vectors were indeed already in our test suite, all good from our side!

@cdecker
Copy link
Collaborator

cdecker commented Aug 3, 2020

ACK, just need to validate the new test vectors on eclair.

Aren't they just uppercased versions of the previous vectors?

Explicitly mirror the BIP-173 advice for QR codes, and note the reader
requirements.

Fixes: lightning#659
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell
Copy link
Collaborator Author

Rebased without test vector change, since spec has since included an upper-case vector.

Copy link
Collaborator

@t-bast t-bast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fa188db

@t-bast t-bast merged commit f8ef3b4 into lightning:master Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bolt11 encoding capital letters
3 participants