pub enum V3 {}Expand description
Version 3 of the Zcash chain history tree.
This version is used from the NU6.3 epoch for history nodes that include Ironwood shielded pool metadata. Earlier epochs continue to use the corresponding earlier history tree versions.
Trait Implementations§
Source§impl Version for V3
impl Version for V3
Source§fn consensus_branch_id(data: &Self::NodeData) -> u32
fn consensus_branch_id(data: &Self::NodeData) -> u32
Returns the consensus branch ID for the given node data.
Source§fn start_height(data: &Self::NodeData) -> u64
fn start_height(data: &Self::NodeData) -> u64
Returns the start height for the given node data.
Source§fn end_height(data: &Self::NodeData) -> u64
fn end_height(data: &Self::NodeData) -> u64
Returns the end height for the given node data.
Source§fn combine_inner(
subtree_commitment: [u8; 32],
left: &Self::NodeData,
right: &Self::NodeData,
) -> Self::NodeData
fn combine_inner( subtree_commitment: [u8; 32], left: &Self::NodeData, right: &Self::NodeData, ) -> Self::NodeData
Combines two nodes metadata. Read more
Source§fn read<R: Read>(consensus_branch_id: u32, r: &mut R) -> Result<Self::NodeData>
fn read<R: Read>(consensus_branch_id: u32, r: &mut R) -> Result<Self::NodeData>
Parses node data from the given reader.
Source§fn write<W: Write>(data: &Self::NodeData, w: &mut W) -> Result<()>
fn write<W: Write>(data: &Self::NodeData, w: &mut W) -> Result<()>
Writes the byte representation of the given node data to the given writer.
Source§fn combine(left: &Self::NodeData, right: &Self::NodeData) -> Self::NodeData
fn combine(left: &Self::NodeData, right: &Self::NodeData) -> Self::NodeData
Combines two nodes’ metadata.
Auto Trait Implementations§
impl Freeze for V3
impl RefUnwindSafe for V3
impl Send for V3
impl Sync for V3
impl Unpin for V3
impl UnsafeUnpin for V3
impl UnwindSafe for V3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more