From 6c438dff914d17a7a457da7d1fbb2f07510c3da0 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Sat, 13 Apr 2019 03:03:56 -0700 Subject: [PATCH] HUSHT6 --- src/hush-cli | 2 +- src/hushd-testnet | 2 +- src/komodo_bitcoind.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hush-cli b/src/hush-cli index 60e6d1976..7310ac1fd 100755 --- a/src/hush-cli +++ b/src/hush-cli @@ -5,6 +5,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR -NAME=HUSHT5 +NAME=HUSHT6 ./komodo-cli -ac_name=$NAME "$@" diff --git a/src/hushd-testnet b/src/hushd-testnet index aa123cb90..b3d9bdf17 100755 --- a/src/hushd-testnet +++ b/src/hushd-testnet @@ -6,7 +6,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR # TESTING VALUES, DO NOT USE EXCEPT FOR DEVELOPMENT -NAME=HUSHT5 +NAME=HUSHT6 # this corresponds to FR address RHushEyeDm7XwtaTWtyCbjGQumYyV8vMjn SCRIPT=76a9145eb10cf64f2bab1b457f1f25e658526155928fac88ac diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index bf74e0b88..2c850ac3c 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -1220,7 +1220,7 @@ uint64_t komodo_commission(const CBlock *pblock,int32_t height) commission = ((nSubsidy * ASSETCHAINS_COMMISSION) / COIN); fprintf(stderr,"ORIG ht.%d nSubsidy %.8f prod %llu\n",height,(double)nSubsidy/COIN,(long long)(nSubsidy * ASSETCHAINS_COMMISSION)); - if ((strcmp(ASSETCHAINS_SYMBOL, "HUSH") != 0) || (strcmp(ASSETCHAINS_SYMBOL, "HUSHT5") != 0)) { + if ((strcmp(ASSETCHAINS_SYMBOL, "HUSH") != 0) || (strcmp(ASSETCHAINS_SYMBOL, "HUSHT6") != 0)) { // HUSH supply curve cannot be exactly represented via KMD AC CLI args, so we do it ourselves. // You specify the BR, and the FR % gets added so 10% of 12.5 is 1.25 // but to tell the AC params, I need to say "11% of 11.25" is 1.25