2020-09-22 14:53:52 +02:00
|
|
|
// Copyright 2015-2020 Parity Technologies (UK) Ltd.
|
|
|
|
// This file is part of OpenEthereum.
|
2018-01-11 17:49:10 +01:00
|
|
|
|
2020-09-22 14:53:52 +02:00
|
|
|
// OpenEthereum 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.
|
|
|
|
|
2020-09-22 14:53:52 +02:00
|
|
|
// OpenEthereum 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
|
2020-09-22 14:53:52 +02:00
|
|
|
// along with OpenEthereum. 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;
|
|
|
|
extern crate heapsize;
|
|
|
|
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;
|
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]
|
|
|
|
extern crate error_chain;
|
2018-01-11 17:49:10 +01:00
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
2018-06-12 08:22:54 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate trace_time;
|
2018-04-13 17:34:27 +02:00
|
|
|
|
2018-01-11 17:49:10 +01:00
|
|
|
#[cfg(test)]
|
2020-08-05 06:08:03 +02:00
|
|
|
extern crate env_logger;
|
2018-04-13 17:34:27 +02:00
|
|
|
#[cfg(test)]
|
|
|
|
extern crate ethkey;
|
|
|
|
#[cfg(test)]
|
2020-08-05 06:08:03 +02:00
|
|
|
extern crate rustc_hex;
|
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;
|