forked from lightning/bolts
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. From https://github.com/evansmj - Make it clear that UPPERCASE is good for QR codes - Added test vectors for that too. 2. From https://github.com/yyforyongyu: - Move the use of `offers_path` requirement to the `invoice_request` reader requirements, and make them explicit. - Use the same language for invoices & invreq_paths. - Change MAY to SHOULD for implying chain values (Bitcoin). - SHOULD->MUST for expired invoices - MUST->SHOULD for onchain addresses order - Various typos 3. From https://github.com/jkczyz - Add requirement for amount if currency set. - Make it clear that the payment_preimage from the payment is what we use to prove invoice completion. - Explicitly tell reader to check `invoice_amount` == `invreq_amount` Offers test vectors fixed too. Use bit 122 not 22 (that's anchors) which is more clearly wrong. And fix the "no desc, no amount" which was supposed to be "no desc, with amount". Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
8dff88b
commit db73bbb
Showing
3 changed files
with
69 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters