Expand description
Blockchain database client.
Re-exports
pub use self::traits::AccountData;
pub use self::traits::BadBlocks;
pub use self::traits::Balance;
pub use self::traits::BlockChain;
pub use self::traits::BlockChainClient;
pub use self::traits::BlockChainReset;
pub use self::traits::BlockInfo;
pub use self::traits::BlockProducer;
pub use self::traits::BroadcastProposalBlock;
pub use self::traits::Call;
pub use self::traits::ChainInfo;
pub use self::traits::EngineClient;
pub use self::traits::EngineInfo;
pub use self::traits::ImportBlock;
pub use self::traits::ImportExportBlocks;
pub use self::traits::ImportSealedBlock;
pub use self::traits::IoClient;
pub use self::traits::Nonce;
pub use self::traits::PrepareOpenBlock;
pub use self::traits::ProvingBlockChainClient;
pub use self::traits::ReopenBlock;
pub use self::traits::ScheduleInfo;
pub use self::traits::SealedBlockImporter;
pub use self::traits::StateClient;
pub use self::traits::StateOrBlock;
pub use self::traits::TransactionInfo;
pub use state::StateInfo;
pub use executive::Executed;
pub use executive::Executive;
pub use executive::TransactOptions;
pub use error::TransactionImportError;
pub use verification::VerifierType;
Modules
Structs
Represents blockchain’s in-memory cache size in bytes.
Blockchain configuration.
Information about the blockchain gathered together.
Verification queue status
Options concerning what analytics we run on the call.
A complete chain enacted retracted route.
Blockchain database client backed by a persistent database. Owns and manages a blockchain and a block queue.
Call import_block()
to import a block asynchronously; flush_queue()
flushes the queue.
Client configuration. Includes configs for all sub-systems.
Report on the status of a client.
Information concerning the execution environment for a message-call/contract-creation.
Creates thread and uses AsyncQueue to queue and execute items that are received in queue function. Queue is restricted by max_items and will return false if we want enqueue items on full queue.
Used by ChainNotify
new_blocks()
Client pruning info. See module-level docs for more details.
Easy to use trace filter.
Uniquely identifies Trace.
Uniquely identifies Uncle.
Enums
Uniquely identifies block.
General block status
Messages to broadcast via chain
Route type to indicate whether it is enacted or retracted.
Message type for external and internal events
Client state db compaction profile
Operating mode for the client.
Uniquely identifies transaction.
Type of EVM to use.
Traits
Represents what has to be handled by actor listening to chain events
Type Definitions
Simple vector of hashes, should be at most 256 items large, can be smaller if being used for a block whose number is less than 257.