2019-01-07 11:33:07 +01:00
|
|
|
// Copyright 2015-2019 Parity Technologies (UK) Ltd.
|
|
|
|
// This file is part of Parity Ethereum.
|
2018-01-11 17:49:10 +01:00
|
|
|
|
2019-01-07 11:33:07 +01:00
|
|
|
// Parity Ethereum is free software: you can redistribute it and/or modify
|
2018-01-11 17:49: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,
|
2018-01-11 17:49: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/>.
|
2018-01-11 17:49:10 +01:00
|
|
|
|
|
|
|
#![warn(missing_docs)]
|
|
|
|
|
|
|
|
//! Miner module
|
|
|
|
//! Keeps track of transactions and mined block.
|
|
|
|
|
2018-04-13 17:34:27 +02:00
|
|
|
extern crate ansi_term;
|
2019-01-04 14:05:46 +01:00
|
|
|
extern crate common_types as types;
|
2019-01-16 19:52:21 +01:00
|
|
|
extern crate ethabi;
|
|
|
|
extern crate ethcore_call_contract as call_contract;
|
2018-02-09 09:32:06 +01:00
|
|
|
extern crate ethereum_types;
|
2018-01-11 17:49:10 +01:00
|
|
|
extern crate futures;
|
2019-06-19 13:54:05 +02:00
|
|
|
|
|
|
|
extern crate parity_util_mem;
|
2018-01-11 17:49:10 +01:00
|
|
|
extern crate keccak_hash as hash;
|
|
|
|
extern crate linked_hash_map;
|
2019-01-04 14:05:46 +01:00
|
|
|
extern crate parity_runtime;
|
2018-01-11 17:49:10 +01:00
|
|
|
extern crate parking_lot;
|
2018-07-05 07:19:59 +02:00
|
|
|
#[cfg(feature = "price-info")]
|
2018-04-13 17:34:27 +02:00
|
|
|
extern crate price_info;
|
2018-04-27 15:02:45 +02:00
|
|
|
extern crate rlp;
|
2018-04-13 17:34:27 +02:00
|
|
|
extern crate transaction_pool as txpool;
|
2019-04-12 13:36:49 +02:00
|
|
|
extern crate serde;
|
2018-01-11 17:49:10 +01:00
|
|
|
|
2019-01-16 19:52:21 +01:00
|
|
|
#[macro_use]
|
|
|
|
extern crate ethabi_contract;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate ethabi_derive;
|
2018-04-13 17:34:27 +02:00
|
|
|
#[macro_use]
|
2018-01-11 17:49:10 +01:00
|
|
|
extern crate log;
|
2018-06-12 08:22:54 +02:00
|
|
|
#[macro_use]
|
2019-04-12 13:36:49 +02:00
|
|
|
extern crate serde_derive;
|
|
|
|
#[macro_use]
|
2018-06-12 08:22:54 +02:00
|
|
|
extern crate trace_time;
|
2018-04-13 17:34:27 +02:00
|
|
|
|
2018-01-11 17:49:10 +01:00
|
|
|
#[cfg(test)]
|
|
|
|
extern crate rustc_hex;
|
2018-04-13 17:34:27 +02:00
|
|
|
#[cfg(test)]
|
|
|
|
extern crate ethkey;
|
|
|
|
#[cfg(test)]
|
|
|
|
extern crate env_logger;
|
2018-01-11 17:49:10 +01:00
|
|
|
|
|
|
|
pub mod external;
|
2018-07-05 07:19:59 +02:00
|
|
|
#[cfg(feature = "price-info")]
|
|
|
|
pub mod gas_price_calibrator;
|
2018-04-13 17:34:27 +02:00
|
|
|
pub mod gas_pricer;
|
2019-02-07 14:34:24 +01:00
|
|
|
pub mod local_accounts;
|
2018-04-13 17:34:27 +02:00
|
|
|
pub mod pool;
|
2019-01-16 19:52:21 +01:00
|
|
|
pub mod service_transaction_checker;
|
2018-07-05 07:19:59 +02:00
|
|
|
#[cfg(feature = "work-notify")]
|
2018-01-11 17:49:10 +01:00
|
|
|
pub mod work_notify;
|