2019-01-07 11:33:07 +01:00
|
|
|
// Copyright 2015-2019 Parity Technologies (UK) Ltd.
|
|
|
|
// This file is part of Parity Ethereum.
|
2016-03-17 13:41:11 +01:00
|
|
|
|
2019-01-07 11:33:07 +01:00
|
|
|
// Parity Ethereum is free software: you can redistribute it and/or modify
|
2016-03-17 13:41:11 +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-17 13:41:11 +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-17 13:41:11 +01:00
|
|
|
|
|
|
|
//! Spec deserialization.
|
|
|
|
|
|
|
|
pub mod account;
|
2020-08-05 06:08:03 +02:00
|
|
|
pub mod authority_round;
|
|
|
|
pub mod basic_authority;
|
2016-03-17 13:41:11 +01:00
|
|
|
pub mod builtin;
|
2020-08-05 06:08:03 +02:00
|
|
|
pub mod clique;
|
|
|
|
pub mod engine;
|
|
|
|
pub mod ethash;
|
2016-03-17 13:41:11 +01:00
|
|
|
pub mod genesis;
|
2020-08-05 06:08:03 +02:00
|
|
|
pub mod hardcoded_sync;
|
|
|
|
pub mod instant_seal;
|
|
|
|
pub mod null_engine;
|
2016-03-17 13:41:11 +01:00
|
|
|
pub mod params;
|
2016-04-09 19:20:35 +02:00
|
|
|
pub mod seal;
|
2020-08-05 06:08:03 +02:00
|
|
|
pub mod spec;
|
2016-04-09 19:20:35 +02:00
|
|
|
pub mod state;
|
2017-01-10 12:23:59 +01:00
|
|
|
pub mod validator_set;
|
2016-03-17 13:41:11 +01:00
|
|
|
|
2020-08-05 06:08:03 +02:00
|
|
|
pub use self::{
|
|
|
|
account::Account,
|
|
|
|
authority_round::{AuthorityRound, AuthorityRoundParams},
|
|
|
|
basic_authority::{BasicAuthority, BasicAuthorityParams},
|
|
|
|
builtin::{Builtin, Linear, Pricing},
|
|
|
|
clique::{Clique, CliqueParams},
|
|
|
|
engine::Engine,
|
|
|
|
ethash::{BlockReward, Ethash, EthashParams},
|
|
|
|
genesis::Genesis,
|
|
|
|
hardcoded_sync::HardcodedSync,
|
|
|
|
instant_seal::{InstantSeal, InstantSealParams},
|
|
|
|
null_engine::{NullEngine, NullEngineParams},
|
|
|
|
params::Params,
|
|
|
|
seal::{AuthorityRoundSeal, Ethereum, Seal, TendermintSeal},
|
|
|
|
spec::{ForkSpec, Spec},
|
|
|
|
state::State,
|
|
|
|
validator_set::ValidatorSet,
|
|
|
|
};
|