pub fn build_history_node_state(
        value: [u8; 32],
        child_states: [Option<HistoryChildState>; ARITY],
        label_len: u32,
        label_val: [u8; 32],
        epoch: u64,
    ) -> HistoryNodeState {
        HistoryNodeState {
            value,
            child_states,
            key: NodeStateKey(NodeLabel::new(label_val, label_len), epoch),
        }
    }
/// Build a history node state from the properties
Build a history node state from the properties
Build a history node state from the properties
pub fn build_history_node_state(
        value: [u8; 32],
        child_states: [Option<HistoryChildState>; ARITY],
        label_len: u32,
        label_val: [u8; 32],
        epoch: u64,
    ) -> HistoryNodeState {
        HistoryNodeState {
            value,
            child_states,
            key: NodeStateKey(NodeLabel::new(label_val, label_len), epoch),
        }
    }
pub fn build_history_node_state ( value : [ u8 ; 32 ] , child_states : [ Option < HistoryChildState > ; ARITY ] , label_len : u32 , label_val : [ u8 ; 32 ] , epoch : u64 , ) -> HistoryNodeState { HistoryNodeState { value , child_states , key : NodeStateKey ( NodeLabel :: new ( label_val , label_len ) , epoch ) , } }
Build a history node state from the properties
Build a history node state from the properties
value
[u8; 32]
child_states
[Option<HistoryChildState>; ARITY]
label_len
u32
label_val
[u8; 32]
epoch
u64
value
[u8; 32]
child_states
[Option<HistoryChildState>; ARITY]
label_len
u32
label_val
[u8; 32]
epoch
u64