From 3eaf840dc1a6ab86b05b8a74d93aa8bfd6545074 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 22 Nov 2018 08:22:39 -1100 Subject: [PATCH] Switch to auto-sapling activation via KOMODO_SAPLING_ACTIVATION timestamp --- src/komodo_globals.h | 4 ++-- src/komodo_utils.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/komodo_globals.h b/src/komodo_globals.h index 6f4f3e476..b4a592b7f 100644 --- a/src/komodo_globals.h +++ b/src/komodo_globals.h @@ -88,8 +88,8 @@ int32_t VERUS_MIN_STAKEAGE = 150; // 1/2 this should also be a cap on the int32_t VERUS_CONSECUTIVE_POS_THRESHOLD = 7; int32_t VERUS_NOPOS_THRESHHOLD = 150; // if we have no POS blocks in this many blocks, set to default difficulty -int32_t ASSETCHAINS_SAPLING; -int32_t ASSETCHAINS_OVERWINTER; +int32_t ASSETCHAINS_SAPLING = -1; +int32_t ASSETCHAINS_OVERWINTER = -1; uint64_t KOMODO_INTERESTSUM,KOMODO_WALLETBALANCE; uint64_t ASSETCHAINS_COMMISSION,ASSETCHAINS_STAKED,ASSETCHAINS_SUPPLY = 10; diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 0b6704752..ec1e4e67e 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1778,7 +1778,7 @@ void komodo_args(char *argv0) if ( (ASSETCHAINS_LWMAPOS = GetArg("-ac_veruspos",0)) != 0 ) ASSETCHAINS_LWMAPOS = 50; - ASSETCHAINS_SAPLING = GetArg("-ac_sapling", -1); + /*ASSETCHAINS_SAPLING = GetArg("-ac_sapling", -1); if (ASSETCHAINS_SAPLING == -1) { ASSETCHAINS_OVERWINTER = GetArg("-ac_overwinter", -1); @@ -1786,7 +1786,7 @@ void komodo_args(char *argv0) else { ASSETCHAINS_OVERWINTER = GetArg("-ac_overwinter", ASSETCHAINS_SAPLING); - } + }*/ if ( strlen(ASSETCHAINS_OVERRIDE_PUBKEY.c_str()) == 66 || ASSETCHAINS_SCRIPTPUB.size() > 1 ) { if ( strlen(ASSETCHAINS_OVERRIDE_PUBKEY.c_str()) == 66 )