mod.rs 673 B

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