-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently we have a custom implementation for the BCH codes used in calculating the desciptor checksum. We recently released an implementation in `bech32` of the same thing, we can use it here. Encoding descriptors with a checksum differs from bech32 addresses because of the `#` symbol that separates the descriptor from the checksum so we cannot use the iterators from `bech32`, instead we define our own iterator that adds the checksum and yields `chars`.
- Loading branch information
Showing
7 changed files
with
240 additions
and
197 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
Oops, something went wrong.