[T4] diff change (#1769)

* pre-t4 again

* rustfmt
This commit is contained in:
Yeastplume
2018-10-17 13:48:18 +01:00
committed by GitHub
parent 404165a8fd
commit 5cec885ef5
4 changed files with 87 additions and 88 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ pub fn genesis_testnet4() -> core::Block {
core::Block::with_header(core::BlockHeader {
height: 0,
previous: core::hash::Hash([0xff; 32]),
timestamp: Utc.ymd(2018, 10, 16).and_hms(9, 0, 0),
timestamp: Utc.ymd(2018, 10, 17).and_hms(13, 0, 0),
pow: ProofOfWork {
total_difficulty: Difficulty::from_num(global::initial_block_difficulty()),
scaling_difficulty: 1,
+1 -1
View File
@@ -66,7 +66,7 @@ pub const TESTNET3_INITIAL_DIFFICULTY: u64 = 30000;
/// 1_000 times natural scale factor for cuckatoo29
// TODO: Enable this on real testnet
// pub const TESTNET4_INITIAL_DIFFICULTY: u64 = 1_000 * (2<<(29-24)) * 29;
pub const TESTNET4_INITIAL_DIFFICULTY: u64 = 1;
pub const TESTNET4_INITIAL_DIFFICULTY: u64 = 1 * (2 << (29 - 24)) * 29;
/// Trigger compaction check on average every day for FAST_SYNC_NODE,
/// roll the dice on every block to decide,