2020-08-15 18:02:07 -07:00
|
|
|
//! Sapling-related functionality.
|
|
|
|
|
2020-08-27 21:14:41 -07:00
|
|
|
mod address;
|
2020-09-23 18:52:52 -07:00
|
|
|
#[cfg(any(test, feature = "proptest-impl"))]
|
|
|
|
mod arbitrary;
|
2020-08-27 21:14:41 -07:00
|
|
|
mod commitment;
|
2020-08-28 01:14:58 -07:00
|
|
|
mod note;
|
2020-08-17 01:48:47 -07:00
|
|
|
mod output;
|
2020-08-17 02:06:38 -07:00
|
|
|
mod spend;
|
2020-08-28 01:14:58 -07:00
|
|
|
#[cfg(test)]
|
|
|
|
mod tests;
|
2020-08-17 01:48:47 -07:00
|
|
|
|
|
|
|
// XXX clean up these modules
|
|
|
|
|
2020-08-15 18:02:07 -07:00
|
|
|
pub mod keys;
|
|
|
|
pub mod tree;
|
2020-08-17 01:48:47 -07:00
|
|
|
|
2020-08-27 21:14:41 -07:00
|
|
|
pub use address::Address;
|
|
|
|
pub use commitment::{CommitmentRandomness, NoteCommitment, ValueCommitment};
|
|
|
|
pub use keys::Diversifier;
|
2020-08-28 01:14:58 -07:00
|
|
|
pub use note::{EncryptedNote, Note, Nullifier, WrappedNoteKey};
|
|
|
|
pub use output::Output;
|
|
|
|
pub use spend::Spend;
|