From 988ac8a22db0dd58d9f4367878abaf7005c3e1bc Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 12 Dec 2016 16:47:57 +0100 Subject: [PATCH] Add forks supported. --- ethcore/src/ethereum/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ethcore/src/ethereum/mod.rs b/ethcore/src/ethereum/mod.rs index 3a20f1e43..0f7683046 100644 --- a/ethcore/src/ethereum/mod.rs +++ b/ethcore/src/ethereum/mod.rs @@ -29,6 +29,12 @@ pub use self::denominations::*; use super::spec::*; +/// Most recent fork block that we support on Mainnet. +pub const FORK_SUPPORTED_FRONTIER: u64 = 2675000; + +/// Most recent fork block that we support on Ropsten. +pub const FORK_SUPPORTED_ROPSTEN: u64 = 10; + fn load(b: &[u8]) -> Spec { Spec::load(b).expect("chain spec is invalid") }