Skip to main content

Crate orchard

Crate orchard 

Source
Expand description

§orchard

§Nomenclature

All types in the orchard crate, unless otherwise specified, are Orchard-specific types. For example, Address is documented as being a shielded payment address; we implicitly mean it is an Orchard payment address (as opposed to e.g. a Sapling payment address, which is also shielded).

Re-exports§

pub use bundle::Bundle;
pub use constants::MERKLE_DEPTH_ORCHARD as NOTE_COMMITMENT_TREE_DEPTH;
pub use constants::L_ORCHARD_BASE;
pub use constants::L_ORCHARD_SCALAR;
pub use constants::L_VALUE;
pub use note::Note;
pub use tree::Anchor;

Modules§

builder
Logic for building Orchard components of transactions.
bundle
Structs related to bundles of Orchard actions.
circuitcircuit
The Orchard Action circuit implementation.
constantsunstable-voting-circuits
Constants used in the Orchard protocol.
keys
Key structures for Orchard.
note
Data structures used for note construction.
note_encryption
In-band secret distribution for Orchard bundles.
pczt
PCZT support for Orchard.
primitives
Primitives used in the Orchard protocol.
specunstable-voting-circuits
Helper functions defined in the Zcash Protocol Specification.
tree
Types related to Orchard note commitment trees and anchors.
value
Monetary values within the Orchard shielded pool.
zip32
Key structures for Orchard.

Structs§

Action
An action applied to the global ledger.
Address
A shielded payment address.
Proof
A proof of the validity of an Orchard Bundle.