Skip to main content

Module builder

Module builder 

Source
Expand description

Structs for building transactions.

Structs§

BuildResult
The result of a transaction build operation, which includes the resulting transaction along with metadata describing how spends and outputs were shuffled in creating the transaction’s shielded bundles.
Builder
Generates a Transaction from its inputs and outputs.
BundlePadding
The padding policy for a transactional Orchard-family (Orchard or Ironwood) bundle.
DeferredPcztBuilder
A builder for V6 and later transactions constructed as PCZTs with their Orchard-family anchors DEFERRED to proving time, per ZIP 374.
PcztParts
The components of a PCZT.
PcztResult
The result of Builder::build_for_pczt.
Progress
Reports on the progress made by the builder towards building a transaction.

Enums§

BuildConfig
Rules for how the builder should be configured for each shielded pool or coinbase tx.
Error
Errors that can occur during transaction construction.
FeeError
Errors that can occur during fee calculation.

Constants§

BLOSSOM_DEFAULT_TX_EXPIRY_DELTA
The default transaction expiry delta, in blocks, for transactions targeting a height from Blossom activation until NU7 activation (ZIP 203). It is about 50 minutes at the 75-second target block spacing.
NU7_DEFAULT_TX_EXPIRY_DELTA
The default transaction expiry delta, in blocks, for transactions targeting a height from NU7 activation onward (ZIP 218): 120 blocks, the same 50 minutes as BLOSSOM_DEFAULT_TX_EXPIRY_DELTA at the 25-second target block spacing.
OVERWINTER_DEFAULT_TX_EXPIRY_DELTA
The default transaction expiry delta, in blocks, for transactions targeting a height before Blossom activation (ZIP 203).

Functions§

cached_orchard_proving_keycircuits and std
default_tx_expiry_delta
Returns the default expiry delta, in blocks, for a transaction built under the rules of the given consensus branch.