Explorar el Código

blockchain: Export some structs.

parazyd hace 4 años
padre
commit
ccfb7d7d7f
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      src/blockchain2/mod.rs

+ 5 - 5
src/blockchain2/mod.rs

@@ -8,19 +8,19 @@ use crate::{
 };
 };
 
 
 pub mod blockstore;
 pub mod blockstore;
-use blockstore::BlockStore;
+pub use blockstore::BlockStore;
 
 
 pub mod metadatastore;
 pub mod metadatastore;
-use metadatastore::StreamletMetadataStore;
+pub use metadatastore::StreamletMetadataStore;
 
 
 pub mod nfstore;
 pub mod nfstore;
-use nfstore::NullifierStore;
+pub use nfstore::NullifierStore;
 
 
 pub mod rootstore;
 pub mod rootstore;
-use rootstore::RootStore;
+pub use rootstore::RootStore;
 
 
 pub mod txstore;
 pub mod txstore;
-use txstore::TxStore;
+pub use txstore::TxStore;
 
 
 pub struct Blockchain {
 pub struct Blockchain {
     /// Blocks sled tree
     /// Blocks sled tree