Consensus-critical serialization for Zcash.
This trait provides a generic deserialization for consensus-critical formats, such as network messages, transactions, blocks, etc. It is intended for use only in consensus-critical contexts; in other contexts, such as internal storage, it would be preferable to use Serde.
fn zcash_deserialize<R: Read>(reader: R) -> Result<Self, SerializationError>
Try to read
self from the given
This function has a
zcash_ prefix to alert the reader that the
serialization in use is consensus-critical serialization, rather than
some other kind of serialization.
Implementations on Foreign Types
impl ZcashDeserialize for PublicKey[src]
impl<T: ZcashDeserialize> ZcashDeserialize for Vec<T>[src]
impl<P: ZkSnarkProof> ZcashDeserialize for Option<JoinSplitData<P>>[src]
impl<T> ZcashDeserialize for Arc<T> where[src]