bdkffi

Module bitcoin

Source

Structs§

  • A bitcoin address
  • The Amount type can be used to express Bitcoin amounts that support arithmetic and conversion to various denominations. The operations that Amount implements will panic when overflow or underflow occurs. Also note that since the internal representation of amounts is unsigned, subtracting below zero is considered an underflow and will cause a panic.
  • Bitcoin block. A collection of transactions with an attached proof of work.
  • A bitcoin Block hash
  • A collision-proof unique identifier for a descriptor.
  • Represents fee rate.
  • An OutPoint used as a key in a hash map.
  • Bitcoin block header. Contains all the block’s information except the actual transactions, but including a root of a merkle tree committing to all transactions in the block.
  • A key-value map for an input of the corresponding index in the unsigned transaction.
  • Store information about taproot leaf node.
  • Represents the node information in taproot tree. In contrast to TapTree, this is allowed to have hidden leaves as children.
  • A reference to an unspent output by TXID and output index.
  • A key-value map for an output of the corresponding index in the unsigned transaction.
  • A Partially Signed Transaction.
  • A bitcoin script: https://en.bitcoin.it/wiki/Script
  • Taproot Tree representing a complete binary tree without any hidden nodes.
  • Bitcoin transaction. An authenticated movement of coins.
  • A transcation input.
  • The merkle root of the merkle tree corresponding to a block’s transactions.
  • Bitcoin transaction output.
  • A bitcoin transaction identifier
  • The version and program of a Segwit address.
  • A bitcoin transaction identifier, including witness data. For transactions with no SegWit inputs, the txid will be equivalent to wtxid.

Enums§

Type Aliases§