Skip to content

Commit

Permalink
update consensus
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Sep 14, 2024
1 parent d48a15c commit 54089d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions base_layer/core/src/consensus/consensus_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ impl ConsensusConstants {
pub fn stagenet() -> Vec<Self> {
let mut algos = HashMap::new();
algos.insert(PowAlgorithm::Sha3x, PowAlgorithmConstants {
min_difficulty: Difficulty::from_u64(1_200_000_000).expect("valid difficulty"),
min_difficulty: Difficulty::from_u64(450_000_000_000).expect("valid difficulty"),
max_difficulty: Difficulty::max(),
target_time: 240,
});
Expand Down Expand Up @@ -607,7 +607,7 @@ impl ConsensusConstants {
pub fn nextnet() -> Vec<Self> {
let mut algos = HashMap::new();
algos.insert(PowAlgorithm::Sha3x, PowAlgorithmConstants {
min_difficulty: Difficulty::from_u64(1_200_000_000).expect("valid difficulty"),
min_difficulty: Difficulty::from_u64(450_000_000_000).expect("valid difficulty"),
max_difficulty: Difficulty::max(),
target_time: 240,
});
Expand Down Expand Up @@ -660,7 +660,7 @@ impl ConsensusConstants {
let difficulty_block_window = 90;
let mut algos = HashMap::new();
algos.insert(PowAlgorithm::Sha3x, PowAlgorithmConstants {
min_difficulty: Difficulty::from_u64(1_200_000_000).expect("valid difficulty"),
min_difficulty: Difficulty::from_u64(450_000_000_000).expect("valid difficulty"),
max_difficulty: Difficulty::max(),
target_time: 240,
});
Expand All @@ -672,7 +672,7 @@ impl ConsensusConstants {
let (input_version_range, output_version_range, kernel_version_range) = version_zero();
let consensus_constants = vec![ConsensusConstants {
effective_from_height: 0,
coinbase_min_maturity: 360,
coinbase_min_maturity: 720,
blockchain_version: 0,
valid_blockchain_version_range: 0..=0,
future_time_limit: 540,
Expand Down

0 comments on commit 54089d0

Please sign in to comment.