bdk_chain::bitcoin::bech32

Module primitives

Expand description

Provides the internal nuts and bolts that enable bech32 encoding/decoding.

Modules§

  • Degree-2 BCH code checksum.
  • Decoding of bech32 encoded strings as specified by BIP-173 and BIP-350.
  • Bech32 address encoding.
  • GF32 - Galois Field over 32 elements.
  • Provides an Hrp type that represents the human-readable part of a bech32 encoded string.
  • Iterator Adaptors.
  • Segregated Witness functionality - useful for enforcing parts of BIP-173 and BIP-350.

Enums§

  • The bech32 checksum algorithm, defined in BIP-173.
  • The bech32m checksum algorithm, defined in BIP-350.
  • The “null checksum” used on bech32 strings for which we want to do no checksum checking.