Trait zebra_chain::primitives::zcash_history::Version

source ·
pub trait Version: Version {
    // Required method
    fn block_to_history_node(
        block: Arc<Block>,
        network: &Network,
        sapling_root: &Root,
        orchard_root: &Root,
    ) -> Self::NodeData;
}
Expand description

A trait to represent a version of Tree.

Required Methods§

source

fn block_to_history_node( block: Arc<Block>, network: &Network, sapling_root: &Root, orchard_root: &Root, ) -> Self::NodeData

Convert a Block into the NodeData for this version.

Object Safety§

This trait is not object safe.

Implementors§