You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #608: Use bech32 to calculate descriptor checksums
fe1a6be Implement write_descriptor macro (Tobin C. Harding)
e9eb9b1 Use bech32 instead of custom poly_mod function (Tobin C. Harding)
Pull request description:
This is just the last patch, the rest are in #609 now.
The `checksum::poly_mod` function implements BCH codes to calculate a checksum (appended to descriptors). We recently released a version of BCH codes in `bech32`. We can implement the `bech32::Checksum` trait for BIP-380 and use the `primitives::checksum` module, removing the custom `poly_mod` function.
ACKs for top commit:
apoelstra:
ACK fe1a6be
Tree-SHA512: 7be33951669982ce7b7d2e32197e5eb9c40323d31785a6ed0e4d47c6200c7cb0d4aadbce54cf112511dd680cc09a33f0e580aa193e71164ceaeacfecd98a1b19
0 commit comments