revert moves to Spec

This commit is contained in:
keorn
2016-11-14 10:04:34 +00:00
parent 15d748c2f7
commit 2d4b4cf5c9
11 changed files with 88 additions and 78 deletions

View File

@@ -280,39 +280,6 @@ impl Spec {
/// Create a new Spec with InstantSeal consensus which does internal sealing (not requiring work).
pub fn new_instant() -> Spec { load_bundled!("instant_seal") }
/// Create a new Olympic chain spec.
pub fn new_ethereum_olympic() -> Spec { load_bundled!("ethereum/olympic") }
/// Create a new Frontier mainnet chain spec.
pub fn new_ethereum_frontier() -> Spec { load_bundled!("ethereum/frontier") }
/// Create a new Frontier mainnet chain spec without the DAO hardfork.
pub fn new_ethereum_classic() -> Spec { load_bundled!("ethereum/classic") }
/// Create a new Frontier mainnet chain spec without the DAO hardfork.
pub fn new_expanse() -> Spec { load_bundled!("expanse") }
/// Create a new Frontier chain spec as though it never changes to Homestead.
pub fn new_ethereum_frontier_test() -> Spec { load_bundled!("ethereum/frontier_test") }
/// Create a new Homestead chain spec as though it never changed from Frontier.
pub fn new_ethereum_homestead_test() -> Spec { load_bundled!("ethereum/homestead_test") }
/// Create a new Homestead-EIP150 chain spec as though it never changed from Homestead/Frontier.
pub fn new_ethereum_eip150_test() -> Spec { load_bundled!("ethereum/eip150_test") }
/// Create a new Homestead-EIP150 chain spec as though it never changed from Homestead/Frontier.
pub fn new_ethereum_eip161_test() -> Spec { load_bundled!("ethereum/eip161_test") }
/// Create a new Frontier/Homestead/DAO chain spec with transition points at #5 and #8.
pub fn new_ethereum_transition_test() -> Spec { load_bundled!("ethereum/transition_test") }
/// Create a new Frontier main net chain spec without genesis accounts.
pub fn new_ethereum_mainnet_like() -> Spec { load_bundled!("ethereum/frontier_like_test") }
/// Create a new Morden chain spec.
pub fn new_ethereum_morden() -> Spec { load_bundled!("ethereum/morden") }
}
#[cfg(test)]