[][src]Crate merk

Re-exports

pub use rocksdb;

Modules

owner

Provides a container type that allows temporarily taking ownership of a value.

test_utils

Various helpers useful for tests or benchmarks.

tree

The core tree data structure.

Structs

Error

The Error type, which can contain any failure.

Merk

A handle to a Merkle key/value store backed by RocksDB.

PanicSource

A source of data which panics when called. Useful when creating a store which always keeps the state in memory.

Enums

Op

An operation to be applied to a key in the store.

Constants

HASH_LENGTH

The length of a Hash (in bytes).

Functions

verify_proof

Verifies the encoded proof with the given query and expected hash.

Type Definitions

Batch

A mapping of keys and operations. Keys should be sorted and unique.

BatchEntry

A single (key, operation) pair.

Hash

A cryptographic hash digest.

Result