Skip to content

BOLT 11: make UPPERCASE explicit.#677

Merged
t-bast merged 1 commit into
lightning:masterfrom
rustyrussell:bolt11-uppercase
Aug 3, 2020
Merged

BOLT 11: make UPPERCASE explicit.#677
t-bast merged 1 commit into
lightning:masterfrom
rustyrussell:bolt11-uppercase

Conversation

@rustyrussell
Copy link
Copy Markdown
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/bolts 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/bolts 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
Copy Markdown
Collaborator

cdecker commented Aug 3, 2020

ACK 9a84c66

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator Author

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

Copy link
Copy Markdown
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