Expose note types and make note modules private

This commit is contained in:
Deirdre Connolly 2020-08-28 04:14:58 -04:00 committed by Deirdre Connolly
parent d795b8bfd9
commit 31d98248ab
2 changed files with 10 additions and 10 deletions

View File

@ -2,21 +2,20 @@
mod address;
mod commitment;
mod note;
mod output;
mod spend;
pub use output::Output;
pub use spend::Spend;
#[cfg(test)]
mod tests;
// XXX clean up these modules
pub mod keys;
pub mod note;
pub mod tree;
#[cfg(test)]
mod tests;
pub use address::Address;
pub use commitment::{CommitmentRandomness, NoteCommitment, ValueCommitment};
pub use keys::Diversifier;
pub use note::{EncryptedNote, Note, Nullifier, WrappedNoteKey};
pub use output::Output;
pub use spend::Spend;

View File

@ -1,7 +1,8 @@
//! Sprout-related functionality.
mod joinsplit;
pub use joinsplit::JoinSplit;
#[cfg(test)]
mod tests;
// XXX clean up these modules
@ -11,5 +12,5 @@ pub mod keys;
pub mod note;
pub mod tree;
#[cfg(test)]
mod tests;
pub use joinsplit::JoinSplit;
pub use note::{EncryptedNote, Note, Nullifier};