Module sapio_bitcoin::util

source ·
Expand description

Utility functions.

Functions needed by all parts of the Bitcoin library.

Modules

  • Bitcoin addresses.
  • Bitcoin amounts.
  • Base58 encoder and decoder.
  • BIP32 implementation.
  • BIP143 implementation.
  • BIP158 Compact Block Filters for light clients.
  • ECDSA Bitcoin signatures.
  • Bitcoin hash functions.
  • Bitcoin keys.
  • Merkle Block and Partial Merkle Tree.
  • Miscellaneous functions.
  • Partially Signed Bitcoin Transactions.
  • Schnorr Bitcoin keys.
  • Generalized, efficient, signature hash implementation.
  • Bitcoin Taproot.
  • Big unsigned integer types.

Enums

  • A general error code, other errors should implement conversions to/from this if appropriate.

Traits

  • A trait which allows numbers to act as fixed-size bit arrays