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.
- Output
Info - A struct containing the information required in order to construct a Sapling output to a transaction.
- Partially
Authorized - Marker for a partially-authorized bundle, in the process of being signed.
- Proven
- Marker for a
Bundlewith proofs. - Sapling
Metadata - Metadata about a transaction created by a
Builder. - Signing
Metadata - Container for metadata needed to sign a Sapling input.
- Signing
Parts - The parts needed to sign a
SpendDescription. - Spend
Info - A struct containing the information necessary to add a spend to a bundle.
- Unproven
circuit - Marker for a
Bundlewithout proofs. - Unsigned
- Marker for an unauthorized bundle with no signatures.
Enums§
- Bundle
Type - An enumeration of rules for Sapling bundle construction.
- Error
- Maybe
Signed - A heisen
Signaturefor a particularSpendDescription.
Traits§
- InProgress
Proofs - Marker trait representing bundle proofs in the process of being created.
- InProgress
Signatures - Marker trait representing bundle signatures in the process of being created.
- Prover
Progress - Reports on the progress made towards creating proofs for a bundle.
Functions§
- bundle
circuit - Constructs a new Sapling transaction bundle of the given type from the specified set of spends and outputs.
Type Aliases§
- Unauthorized
Bundle circuit - Type alias for an in-progress bundle that has no proofs or signatures.