zebra_chain::serialization

Module zcash_deserialize

source
Expand description

Converting bytes into Zcash consensus-critical data structures.

Constants§

  • The length of the longest valid Vec<u8> that can be received over the network

Traits§

  • Blind preallocation of a Vec<T: TrustedPreallocate> is based on a bounded length. This is in contrast to blind preallocation of a generic Vec<T>, which is a DOS vector.
  • Consensus-critical deserialization for Zcash.
  • Helper for deserializing more succinctly via type inference

Functions§