Function triedb::insert[][src]

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

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