mirror of
https://github.com/lightning/bolts.git
synced 2024-11-19 01:50:03 +01:00
BOLT 11: make UPPERCASE explicit. (#677)
Explicitly mirror the BIP-173 advice for QR codes, and note the reader requirements. Fixes: #659 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
50b7391a6e
commit
f8ef3b4222
@ -35,10 +35,12 @@ encoding.
|
||||
|
||||
A writer:
|
||||
- MUST encode the payment request in Bech32 (see BIP-0173)
|
||||
- SHOULD use upper case for QR codes (see BIP-0173)
|
||||
- MAY exceed the 90-character limit specified in BIP-0173.
|
||||
|
||||
A reader:
|
||||
- MUST parse the address as Bech32, as specified in BIP-0173 (also without the character limit).
|
||||
- Note: this includes handling uppercase as specified by BIP-0173
|
||||
- if the checksum is incorrect:
|
||||
- MUST fail the payment.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user