Module bdk_chain::bitcoin::blockdata::transaction

Expand description

Bitcoin transactions.

A transaction describes a transfer of money. It consumes previously-unspent transaction outputs and produces new ones, satisfying the condition to spend the old outputs (typically a digital signature with a specific key must be provided) and defining the condition to spend the new ones. The use of digital signatures ensures that coins cannot be spent by unauthorized parties.

This module provides the structures and functions needed to support transactions.

Structs§

  • Error attempting to do an out of bounds access on a vector.
  • Weight prediction of an individual input.
  • Error attempting to do an out of bounds access on the transaction inputs vector.
  • A reference to a transaction output.
  • Error attempting to do an out of bounds access on the transaction outputs vector.
  • Bitcoin transaction input sequence number.
  • Bitcoin transaction.
  • Bitcoin transaction input.
  • Bitcoin transaction output.
  • A bitcoin transaction hash/transaction ID.
  • The transaction version.
  • A bitcoin witness transaction ID.

Enums§

Functions§