pre-testnet4 genesis values (#1744)
This commit is contained in:
+2
-1
@@ -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,
|
||||
|
||||
+1
-1
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user