Module tapyrus::hash_types

source ·
Expand description

File defines types for hashes used throughout the library. These types are needed in order to avoid mixing data of the same hash format (like SHA256d) but of different meaning (transaction id, block hash etc).

Structs

  • A bitcoin block hash.
  • Hash of the block for sigining.
  • Bloom filter souble-SHA256 locator hash, as defined in BIP-168
  • A hash of a public key.
  • A hash of Bitcoin Script bytecode.
  • Hash of the transaction according to the signature algorithm
  • A hash of the Merkle tree branch or root for transactions
  • A bitcoin transaction hash/transaction ID.
  • SegWit version of a public key hash.
  • SegWit version of a Bitcoin Script bytecode hash.
  • A hash corresponding to the witness structure commitment in the coinbase transaction
  • A hash corresponding to the Merkle tree root for witness data
  • A bitcoin witness transaction ID.
  • Hash of the xfield for signing
  • XpubIdentifier as defined in BIP-32.