mod.rs 606 B

1234567891011121314151617181920212223242526272829
  1. pub mod arith_chip;
  2. pub mod coin;
  3. pub mod constants;
  4. pub mod diffie_hellman;
  5. pub mod keypair;
  6. pub mod merkle_node;
  7. pub mod mint_proof;
  8. pub mod note;
  9. pub mod nullifier;
  10. pub mod proof;
  11. pub mod schnorr;
  12. pub mod spend_proof;
  13. pub mod util;
  14. pub(crate) use mint_proof::MintRevealedValues;
  15. pub(crate) use proof::Proof;
  16. pub(crate) use spend_proof::SpendRevealedValues;
  17. use keypair::SecretKey;
  18. #[derive(Copy, Clone, Debug, PartialEq)]
  19. pub struct OwnCoin {
  20. pub coin: coin::Coin,
  21. pub note: note::Note,
  22. pub secret: SecretKey,
  23. pub nullifier: nullifier::Nullifier,
  24. }
  25. pub type OwnCoins = Vec<OwnCoin>;