mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
pre-testnet4 genesis values (#1744)
This commit is contained in:
parent
3b0006934e
commit
13facfac4b
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
/// 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 {
|
pub fn genesis_testnet4() -> core::Block {
|
||||||
core::Block::with_header(core::BlockHeader {
|
core::Block::with_header(core::BlockHeader {
|
||||||
height: 0,
|
height: 0,
|
||||||
previous: core::hash::Hash([0xff; 32]),
|
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 {
|
pow: ProofOfWork {
|
||||||
total_difficulty: Difficulty::from_num(global::initial_block_difficulty()),
|
total_difficulty: Difficulty::from_num(global::initial_block_difficulty()),
|
||||||
scaling_difficulty: 1,
|
scaling_difficulty: 1,
|
||||||
|
|
|
@ -57,7 +57,7 @@ pub struct WalletConfig {
|
||||||
impl Default for WalletConfig {
|
impl Default for WalletConfig {
|
||||||
fn default() -> WalletConfig {
|
fn default() -> WalletConfig {
|
||||||
WalletConfig {
|
WalletConfig {
|
||||||
chain_type: Some(ChainTypes::Testnet3),
|
chain_type: Some(ChainTypes::Testnet4),
|
||||||
api_listen_interface: "127.0.0.1".to_string(),
|
api_listen_interface: "127.0.0.1".to_string(),
|
||||||
api_listen_port: 13415,
|
api_listen_port: 13415,
|
||||||
api_secret_path: Some(".api_secret".to_string()),
|
api_secret_path: Some(".api_secret".to_string()),
|
||||||
|
|
Loading…
Reference in a new issue