Expand description

Types used in the public API

This crate stores Open Etherem specific types that are COMMONLY used across different separate modules of the codebase. It should only focus on data structures, not any logic that relates to them.

The interaction between modules should be possible by implementing a required trait that potentially uses some of the data structures from that crate.

NOTE If you can specify your data type in the same crate as your trait, please do that. Don’t treat this crate as a bag for any types that we use in OpenEthereum. This one is reserved for types that are shared heavily (like transactions), historically this contains types extracted from ethcore crate, if possible we should try to dissolve that crate in favour of more fine-grained crates, by moving the types closer to where they are actually required.

Re-exports

pub use keccak_hash as hash;
pub use parity_bytes as bytes;
pub use parity_crypto as crypto;

Modules

Diff between two accounts.

Actions on ancestry blocks when working on a new block.

Basic account type – the decoded RLP from the state trie.

Base data structure of this module is Block.

General block status

Blockhain info type definition

Call analytics related types

Data format for importing/exporting blocks from disk

Lazily-decoded owning views of RLP-encoded blockchain objects. These views are meant to contain trusted data – without encoding errors or inconsistencies.

Engine-specific types.

Blockchain filter

Block header.

Unique identifiers.

Log entry type definition.

Information about portions of the state and chain which the client may serve.

Receipt

Restoration status type definition

Indication of how secure the chain is.

Snapshot manifest type definition

State diff module.

Trace filter related types

Ethereum Transactions

Tree route info type definition

Verification queue info types

Block oriented views onto rlp.

Macros

Type Definitions

Type for block number.