From 16db21634e23afbc90bb42308a6b9aeb7e17c759 Mon Sep 17 00:00:00 2001 From: Stanimal Date: Thu, 20 Jan 2022 11:46:31 +0400 Subject: [PATCH] chore!: reinstate 2 min blocks for dibbler --- base_layer/core/src/blocks/genesis_block.rs | 2 +- base_layer/core/src/consensus/consensus_constants.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base_layer/core/src/blocks/genesis_block.rs b/base_layer/core/src/blocks/genesis_block.rs index 91c26415cf..a00ceb899a 100644 --- a/base_layer/core/src/blocks/genesis_block.rs +++ b/base_layer/core/src/blocks/genesis_block.rs @@ -245,7 +245,7 @@ fn get_dibbler_genesis_block_raw() -> Block { ); body.sort(); // set genesis timestamp - let genesis = DateTime::parse_from_rfc2822("07 Jan 2022 00:00:00 +0200").unwrap(); + let genesis = DateTime::parse_from_rfc2822("20 Jan 2022 00:00:00 +0200").unwrap(); let timestamp = genesis.timestamp() as u64; Block { header: BlockHeader { diff --git a/base_layer/core/src/consensus/consensus_constants.rs b/base_layer/core/src/consensus/consensus_constants.rs index 5b4c19faa5..1a58bc2be3 100644 --- a/base_layer/core/src/consensus/consensus_constants.rs +++ b/base_layer/core/src/consensus/consensus_constants.rs @@ -322,13 +322,13 @@ impl ConsensusConstants { max_target_time: 1800, min_difficulty: 60_000.into(), max_difficulty: u64::MAX.into(), - target_time: 30, + target_time: 300, }); algos.insert(PowAlgorithm::Monero, PowAlgorithmConstants { max_target_time: 1200, min_difficulty: 60.into(), max_difficulty: u64::MAX.into(), - target_time: 20, + target_time: 200, }); vec![ConsensusConstants { effective_from_height: 0,