Module builder

Module builder 

Source
Expand description

Types and functions for building Sapling transaction components.

Structs§

Builder
A mutable builder type for constructing Sapling bundles.
InProgress
Marker for a bundle in the process of being built.
OutputInfo
A struct containing the information required in order to construct a Sapling output to a transaction.
PartiallyAuthorized
Marker for a partially-authorized bundle, in the process of being signed.
Proven
Marker for a Bundle with proofs.
SaplingMetadata
Metadata about a transaction created by a Builder.
SigningMetadata
Container for metadata needed to sign a Sapling input.
SigningParts
The parts needed to sign a SpendDescription.
SpendInfo
A struct containing the information necessary to add a spend to a bundle.
Unprovencircuit
Marker for a Bundle without proofs.
Unsigned
Marker for an unauthorized bundle with no signatures.

Enums§

BundleType
An enumeration of rules for Sapling bundle construction.
Error
MaybeSigned
A heisenSignature for a particular SpendDescription.

Traits§

InProgressProofs
Marker trait representing bundle proofs in the process of being created.
InProgressSignatures
Marker trait representing bundle signatures in the process of being created.
ProverProgress
Reports on the progress made towards creating proofs for a bundle.

Functions§

bundlecircuit
Constructs a new Sapling transaction bundle of the given type from the specified set of spends and outputs.

Type Aliases§

UnauthorizedBundlecircuit
Type alias for an in-progress bundle that has no proofs or signatures.