insert

Function insert 

Source
pub fn insert<D: DatabaseHandle>(
    root: H256,
    database: &D,
    key: &[u8],
    value: &[u8],
) -> (H256, Change)
Expand description

Insert to a merkle trie. Return the new root hash and the changes.