Genesis block for known chains, mine dev chains (#269)

Renamed mining parameter mode to chain type, with existing types
of CI testing, user testing, testnet1 or mainnet. The public
chains (testnet1 and mainnet) come with their fully pre-defined
genesis block.

Still need to set the nonce and cycle for testnet1 genesis.
This commit is contained in:
Ignotus Peverell
2017-11-15 16:49:15 -05:00
committed by GitHub
parent 6fb085a823
commit 91fdaa8320
13 changed files with 167 additions and 190 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ fn start_from_config_file(mut global_config: GlobalConfig) {
.unwrap()
.server
.clone()
.mining_parameter_mode
.chain_type
.unwrap(),
);
@@ -102,7 +102,7 @@ fn main() {
.unwrap()
.server
.clone()
.mining_parameter_mode
.chain_type
.unwrap(),
);
} else {