Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-06 | fuzz: replace hardcoded numbers for bech32 limits | josibake | |
Use bech32::CharLimit::BECH32 and bech32::CHECKSUM_SIZE instead of hardcoded values. This is a follow-up fix for #34007 (where this file was missed) | |||
2024-05-13 | refactor: Model the bech32 charlimit as an Enum | josibake | |
Bech32(m) was defined with a 90 character limit so that certain guarantees for error detection could be made for segwit addresses. However, there is nothing about the encoding scheme itself that requires a limit and in practice bech32(m) has been used without the 90 char limit (e.g. lightning invoices). Further, increasing the character limit doesn't do away with error detection, it simply lessons the guarantees. Model charlimit as an Enum, so that if a different address scheme is using bech32(m), the character limit for that address scheme can be used, rather than always using the 90 charlimit defined for segwit addresses. upate comment | |||
2021-12-06 | Make Bech32 LocateErrors return error list rather than using out-arg | Samuel Dobson | |
2021-10-12 | Modify copyright header on Bech32 code | Samuel Dobson | |
2021-10-12 | Add Bech32 error location function | Samuel Dobson | |
2021-03-17 | naming nits | Fabian Jahr | |
2021-03-15 | Implement Bech32m encoding/decoding | Pieter Wuille | |
2019-09-05 | Assert that the HRP is lowercase in Bech32::Encode | Samuel Dobson | |
2018-03-22 | Fix missing or inconsistent include guards | practicalswift | |
2017-09-28 | Import Bech32 C++ reference code & tests | Pieter Wuille | |
This includes a reformatted version of the Bech32 reference code (see https://github.com/sipa/bech32/tree/master/ref/c%2B%2B), with extra documentation. |