Skip to content

Commit

Permalink
chore!: reinstate 2 min blocks for dibbler
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Jan 20, 2022
1 parent e850cf0 commit 16db216
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base_layer/core/src/blocks/genesis_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions base_layer/core/src/consensus/consensus_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 16db216

Please sign in to comment.