Crate ethcore [−] [src]
Ethcore library
Rust version:
- nightly
Supported platforms:
- OSX
- Linux
Building:
-
Ubuntu 14.04 and later:
# install rustup curl https://sh.rustup.rs -sSf | sh # download and build parity git clone https://github.com/paritytech/parity cd parity cargo build --release -
OSX:
# install rocksdb && rustup brew update curl https://sh.rustup.rs -sSf | sh # download and build parity git clone https://github.com/paritytech/parity cd parity cargo build --release
Re-exports
pub extern crate ethstore; |
pub use types::*; |
pub use executive::contract_address; |
Modules
| account_provider |
Account management. |
| block |
Blockchain block. |
| client |
Blockchain database client. |
| db |
Database utilities and definitions. |
| encoded |
Lazily-decoded owning views of RLP-encoded blockchain objects. These views are meant to contain trusted data -- without encoding errors or inconsistencies. |
| engines |
Consensus engine specification and basic implementations. |
| error |
General error types for use in ethcore. |
| ethereum |
Ethereum protocol module. |
| executed |
Transaction execution format module. |
| executive |
Transaction Execution environment. |
| header |
Block header. |
| machine |
Ethereum-like state machine definition. |
| miner |
Miner module Keeps track of transactions and currently sealed pending block. |
| pod_state |
State of all accounts in the system expressed in Plain Old Data. |
| snapshot |
Snapshot creation, restoration, and network service. |
| spec |
Blockchain params. |
| state |
A mutable state representation suitable to execute transactions.
Generic over a |
| state_db |
State database abstraction. For more info, see the doc for |
| test_helpers |
Set of different helpers for client tests |
| trace |
Tracing |
| verification |
Block verification utilities. |
| views |
Block oriented views onto rlp. |
Macros
| view |
Enums
| CreateContractAddress |
Specifies how an address is calculated for a new contract. |