mirror of
https://github.com/bitcoin/bips.git
synced 2026-09-14 19:01:38 +00:00
Include the expanded human-readable part when selecting the codex32 checksum. This keeps regular codewords within the 93-symbol BCH period and rejects the 94- and 95-symbol gap before the long checksum starts at 96 symbols. Split regular and long checksum construction and verification so their periods can be tested independently. Add assertions for both selection boundaries and the long checksum upper limit. Refs: https://github.com/bitcoin/bips/pull/2258#issuecomment-5411804501
45 KiB
45 KiB