Add forks supported.

This commit is contained in:
Gav Wood 2016-12-12 16:47:57 +01:00
parent ab4d666681
commit 988ac8a22d
No known key found for this signature in database
GPG Key ID: C49C1ACA1CC9B252

View File

@ -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")
}