From 13facfac4bee203898e135fd3eed22db07a97813 Mon Sep 17 00:00:00 2001 From: Yeastplume Date: Mon, 15 Oct 2018 11:14:49 +0100 Subject: [PATCH] pre-testnet4 genesis values (#1744) --- core/src/genesis.rs | 3 ++- wallet/src/types.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/genesis.rs b/core/src/genesis.rs index b0f72b79e..eda2745b1 100644 --- a/core/src/genesis.rs +++ b/core/src/genesis.rs @@ -106,11 +106,12 @@ pub fn genesis_testnet3() -> core::Block { } /// 4th testnet genesis block (cuckatoo29 AR, 30+ AF). Temporary values for now (Pow won't verify) +/// NB: Currently set to intenal pre-testnet values pub fn genesis_testnet4() -> core::Block { core::Block::with_header(core::BlockHeader { height: 0, previous: core::hash::Hash([0xff; 32]), - timestamp: Utc.ymd(2018, 8, 30).and_hms(18, 0, 0), + timestamp: Utc.ymd(2018, 10, 15).and_hms(12, 0, 0), pow: ProofOfWork { total_difficulty: Difficulty::from_num(global::initial_block_difficulty()), scaling_difficulty: 1, diff --git a/wallet/src/types.rs b/wallet/src/types.rs index 97792e164..497a8f0c6 100644 --- a/wallet/src/types.rs +++ b/wallet/src/types.rs @@ -57,7 +57,7 @@ pub struct WalletConfig { impl Default for WalletConfig { fn default() -> WalletConfig { WalletConfig { - chain_type: Some(ChainTypes::Testnet3), + chain_type: Some(ChainTypes::Testnet4), api_listen_interface: "127.0.0.1".to_string(), api_listen_port: 13415, api_secret_path: Some(".api_secret".to_string()),