-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #66: Support bech32 encoding without a checksum
86edca9 Support bech32 encoding without a checksum (Jeffrey Czyz) 0ef5bb9 Add an Error variant for fmt::Error (Jeffrey Czyz) 1735cb3 Use a constant for checksum length (Jeffrey Czyz) Pull request description: [BOLT 12 Offers](lightning/bolts#798) uses bech32 encoding without a checksum since QR codes already have a checksum. Add functions `encode_without_checksum` and `decode_without_checksum` to support this use case. Also, remove overall length check in decode since it is unnecessary. ACKs for top commit: apoelstra: ACK 86edca9 Tree-SHA512: f45cbc03caa615a2377f183a8e90931ac624c4321b0f0a113b743f3bfc435d27881465c7614face729bcfba8fefbf300dde49fe9024a298474e2798c742ff806
- Loading branch information
Showing
1 changed file
with
125 additions
and
35 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