Mainnet enablement

1. Remove the exit guarding running a node in mainnet mode.
2. Set initial difficulty in genesis.
This commit is contained in:
Ignotus Peverell
2019-01-14 20:07:10 +00:00
parent 49612543d4
commit 224a26faed
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ pub fn genesis_main() -> core::Block {
output_mmr_size: 1,
kernel_mmr_size: 1,
pow: ProofOfWork {
total_difficulty: Difficulty::from_num(10_u64.pow(8)),
total_difficulty: Difficulty::from_num(2_u64.pow(34)),
secondary_scaling: 1856,
nonce: 1, // REPLACE
proof: Proof {