[][src]Crate trie

Merkle trie implementation for Ethereum.

Modules

merkle

Merkle types.

Structs

Change

Change for a merkle trie operation.

Enums

Error

Constants

EMPTY_TRIE_HASH

Traits

DatabaseHandle

An immutable database handle.

Functions

build

Build a merkle trie from a map. Return the root hash and the changes.

delete

Delete a key from a markle trie. Return the new root hash and the changes.

get

Get a value given the root hash and the database.

insert

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

insert_empty

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