Function trie::insert [] [src]

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

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