Crate ethcore_util [] [src]

Ethcore-util library

Rust version:

Supported platforms:

Building:

Reexports

pub extern crate using_queue;
pub extern crate table;
pub use common::*;
pub use misc::*;
pub use hashdb::*;
pub use memorydb::MemoryDB;
pub use overlaydb::*;
pub use journaldb::JournalDB;
pub use triehash::*;
pub use trie::{Trie, TrieMut, TrieDB, TrieDBMut, TrieFactory, TrieError, SecTrieDB, SecTrieDBMut};
pub use nibbleslice::*;
pub use semantic_version::*;
pub use log::*;
pub use kvdb::*;

Modules

bloom

Bloom operations.

bytes

General bytes-related utilities.

cache

Lru-cache related utilities as quick-and-dirty wrappers around the lru-cache crate.

common

Utils common types and macros global reexport.

error

General error types for use in ethcore.

from_json

Coversion from json.

hashdb

Database of byte-slices keyed to their Keccak hash.

journaldb

JournalDB interface and implementation.

kvdb

Key-Value store abstraction with RocksDB backend.

log

Common log helper functions

memorydb

Reference-counted memory-based HashDB implementation.

migration

DB Migration module.

misc

Diff misc.

nibbleslice

Nibble-orientated view onto byte-slice, allowing nibble-precision offsets.

nibblevec

An owning, nibble-oriented byte vector.

overlaydb

Disk-backed HashDB implementation.

path

Path utilities

semantic_version

Semantic version formatting and comparing.

sha3

Wrapper around tiny-keccak crate as well as common hash constants.

snappy

Snappy compression bindings.

standard

Std lib global reexports.

stats

Statistical functions.

trie

Trie interface and implementation.

triehash

Generetes trie root.

vector

Vector extensions.

Macros

flush
flushln
hash_map
hash_map_into
map
map_into
slice_into
vec_into
xjson

Structs

PerfTimer

Performance timer with logging. Starts measuring time in the constructor, prints elapsed time in the destructor or when stop is called.

Type Definitions

Address

160-bit integer representing account address