2019-01-07 11:33:07 +01:00
|
|
|
// Copyright 2015-2019 Parity Technologies (UK) Ltd.
|
|
|
|
// This file is part of Parity Ethereum.
|
2016-03-10 11:32:10 +01:00
|
|
|
|
2019-01-07 11:33:07 +01:00
|
|
|
// Parity Ethereum is free software: you can redistribute it and/or modify
|
2016-03-10 11:32:10 +01:00
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
2019-01-07 11:33:07 +01:00
|
|
|
// Parity Ethereum is distributed in the hope that it will be useful,
|
2016-03-10 11:32:10 +01:00
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
2019-01-07 11:33:07 +01:00
|
|
|
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>.
|
2016-03-10 11:32:10 +01:00
|
|
|
|
|
|
|
//! Blockchain database client.
|
|
|
|
|
2017-05-17 12:41:33 +02:00
|
|
|
mod ancient_import;
|
2018-09-08 04:04:28 +02:00
|
|
|
mod bad_blocks;
|
2018-03-13 11:49:57 +01:00
|
|
|
mod client;
|
2016-03-10 11:32:10 +01:00
|
|
|
mod config;
|
2018-06-05 11:28:35 +02:00
|
|
|
#[cfg(any(test, feature = "test-helpers"))]
|
2017-05-26 11:06:48 +02:00
|
|
|
mod evm_test_client;
|
2018-03-13 11:49:57 +01:00
|
|
|
mod io_message;
|
2018-06-05 11:28:35 +02:00
|
|
|
#[cfg(any(test, feature = "test-helpers"))]
|
2019-11-11 21:57:38 +01:00
|
|
|
pub mod test_client;
|
2016-04-30 17:41:24 +02:00
|
|
|
mod trace;
|
2016-03-10 11:32:10 +01:00
|
|
|
|
2018-06-05 11:28:35 +02:00
|
|
|
#[cfg(any(test, feature = "test-helpers"))]
|
2019-02-26 13:49:33 +01:00
|
|
|
pub use self::evm_test_client::{EvmTestClient, EvmTestError, TransactErr, TransactSuccess};
|
2018-06-05 11:28:35 +02:00
|
|
|
#[cfg(any(test, feature = "test-helpers"))]
|
2016-03-10 20:27:50 +01:00
|
|
|
pub use self::test_client::{EachBlockWith, TestBlockChainClient};
|
2018-12-19 10:24:14 +01:00
|
|
|
pub use self::{
|
|
|
|
chain_notify::{ChainMessageType, ChainNotify, ChainRoute, ChainRouteType, NewBlocks},
|
2020-08-05 06:08:03 +02:00
|
|
|
client::*,
|
2018-03-03 18:42:13 +01:00
|
|
|
config::{BlockChainConfig, ClientConfig, DatabaseCompactionProfile, Mode, VMType},
|
2018-03-13 11:49:57 +01:00
|
|
|
io_message::ClientIoMessage,
|
2018-03-03 18:42:13 +01:00
|
|
|
traits::{
|
2019-01-16 19:52:21 +01:00
|
|
|
AccountData, BadBlocks, Balance, BlockChain, BlockChainClient, BlockChainReset, BlockInfo,
|
|
|
|
BlockProducer, BroadcastProposalBlock, Call, ChainInfo, EngineClient, EngineInfo,
|
|
|
|
ImportBlock, ImportExportBlocks, ImportSealedBlock, IoClient, Nonce, PrepareOpenBlock,
|
|
|
|
ProvingBlockChainClient, ReopenBlock, ScheduleInfo, SealedBlockImporter, StateClient,
|
|
|
|
StateOrBlock, TransactionInfo,
|
2019-11-11 21:57:38 +01:00
|
|
|
},
|
2018-03-03 18:42:13 +01:00
|
|
|
};
|
|
|
|
pub use state::StateInfo;
|
2016-11-09 23:25:54 +01:00
|
|
|
|
|
|
|
pub use types::{
|
|
|
|
call_analytics::CallAnalytics, ids::*, pruning_info::PruningInfo,
|
2016-07-07 09:39:32 +02:00
|
|
|
trace_filter::Filter as TraceFilter,
|
2016-11-09 23:25:54 +01:00
|
|
|
};
|
|
|
|
|
2016-04-28 21:47:44 +02:00
|
|
|
pub use executive::{Executed, Executive, TransactOptions};
|
2017-08-01 12:37:57 +02:00
|
|
|
pub use vm::{EnvInfo, LastHashes};
|
2016-03-10 11:32:10 +01:00
|
|
|
|
2018-09-24 12:28:54 +02:00
|
|
|
pub use error::TransactionImportError;
|
2016-10-24 15:09:13 +02:00
|
|
|
pub use verification::VerifierType;
|
2016-10-05 19:42:57 +02:00
|
|
|
|
2019-09-12 18:43:53 +02:00
|
|
|
pub mod traits;
|
2016-07-16 15:51:06 +02:00
|
|
|
|
2017-10-16 17:50:25 +02:00
|
|
|
mod chain_notify;
|