fn store_leaf(
        &self,
        leaf_index: u32,
        destination_and_nonce: u64,
        leaf: H256,
    ) -> Result<(), DbError> {
        debug!(
            leaf_index,
            leaf = ?leaf,
            "storing leaf hash keyed by index and dest+nonce"
        );
        self.store_keyed_encodable(LEAF, &destination_and_nonce, &leaf)?;
        self.store_keyed_encodable(LEAF, &leaf_index, &leaf)?;
        self.update_latest_leaf_index(leaf_index)
    }
/// Store the leaf keyed by leaf_index
Store the leaf keyed by leaf_index
Store the leaf keyed by leaf_index
fn store_leaf(
        &self,
        leaf_index: u32,
        destination_and_nonce: u64,
        leaf: H256,
    ) -> Result<(), DbError> {
        debug!(
            leaf_index,
            leaf = ?leaf,
            "storing leaf hash keyed by index and dest+nonce"
        );
        self.store_keyed_encodable(LEAF, &destination_and_nonce, &leaf)?;
        self.store_keyed_encodable(LEAF, &leaf_index, &leaf)?;
        self.update_latest_leaf_index(leaf_index)
    }
fn store_leaf ( & self , leaf_index : u32 , destination_and_nonce : u64 , leaf : H256 , ) -> Result < ( ) , DbError > { debug ! ( leaf_index leaf leaf " " ) ; self . store_keyed_encodable ( LEAF , & destination_and_nonce , & leaf ) ? ; self . store_keyed_encodable ( LEAF , & leaf_index , & leaf ) ? ; self . update_latest_leaf_index ( leaf_index ) }
Store the leaf keyed by leaf_index
Store the leaf keyed by leaf_index
&self
leaf_index
u32
destination_and_nonce
u64
leaf
H256
&self
leaf_index
u32
destination_and_nonce
u64
leaf
H256