Skip to main content

Crate hns_transaction

Crate hns_transaction 

Source
Expand description

Canonical Handshake transaction, witness, address, and coin values.

Structs§

Address
Coin
CovenantLinkSummary
Input
Outpoint
Canonical Handshake transaction output reference.
Output
Transaction
Witness

Enums§

CovenantLinkError
NameTransactionError
TransactionError

Constants§

MAX_ADDRESS_HASH_SIZE
MAX_TRANSACTION_RAW_SIZE
MAX_TRANSACTION_SIZE
MAX_TRANSACTION_WEIGHT
MAX_WITNESS_ITEMS
MIN_ADDRESS_HASH_SIZE

Functions§

build_finalize_output
Build the exact linked FINALIZE output for a confirmed TRANSFER coin and authenticated current name state.
build_finalize_transaction
Build an unsigned HSD-style name FINALIZE transaction with this transition at input/output index zero and caller-supplied suffixes.
build_transfer_output
Build the exact linked TRANSFER output for a currently owned name coin.
build_transfer_transaction
Build an unsigned HSD-style name TRANSFER transaction with this transition at input/output index zero and caller-supplied suffixes.
verify_covenant_links
verify_finalize_at_index_zero
Verify the canonical header and FINALIZE transition at input/output index zero.
verify_finalize_output
Verify an exact linked FINALIZE output against its TRANSFER coin, authenticated current state, and independently supplied renewal block. This structural verifier does not replace chain-height maturity or renewal block ancestry checks.
verify_transfer_at_index_zero
Verify the canonical header and TRANSFER transition at input/output index zero.
verify_transfer_output
Verify an exact linked TRANSFER output against its owner coin and independently selected recipient.