diff --git a/zebra-chain/Cargo.toml b/zebra-chain/Cargo.toml index 7587a6be..bd57dc51 100644 --- a/zebra-chain/Cargo.toml +++ b/zebra-chain/Cargo.toml @@ -10,4 +10,5 @@ edition = "2018" byteorder = "1.3" chrono = "0.4" failure = "0.1" +#hex = "0.4" This conflicts with tracing-subscriber? sha2 = "0.8" diff --git a/zebra-chain/src/block.rs b/zebra-chain/src/block.rs index 1619f6d3..ec8ce631 100644 --- a/zebra-chain/src/block.rs +++ b/zebra-chain/src/block.rs @@ -114,3 +114,15 @@ pub struct Block { /// The block transactions. pub transactions: Vec, } + +impl ZcashSerialize for Block { + fn zcash_serialize(&self, writer: W) -> Result<(), SerializationError> { + unimplemented!(); + } +} + +impl ZcashDeserialize for Block { + fn zcash_deserialize(reader: R) -> Result { + unimplemented!(); + } +} diff --git a/zebra-chain/src/lib.rs b/zebra-chain/src/lib.rs index dabff5b2..ac407ede 100644 --- a/zebra-chain/src/lib.rs +++ b/zebra-chain/src/lib.rs @@ -8,6 +8,7 @@ mod merkle_tree; mod sha256d_writer; pub mod block; +pub mod equihash_solution; pub mod note_commitment_tree; pub mod serialization; pub mod transaction;