From f02128fb82fd5629fd713265ccc1e73ce911c344 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 8 Jul 2019 07:13:44 -1100 Subject: [PATCH] Test --- src/komodo_nSPV.h | 2 +- src/komodo_nSPV_wallet.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index a5de92f4d..a84d48ac2 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -27,7 +27,7 @@ #ifndef KOMODO_NSPV_H #define KOMODO_NSPV_H -#define NSPV_FULLVALIDATION 1 // changing to 1 issues 26 remote gettransaction, per utxo! need to change to bruteforcer +#define NSPV_SKIPFULLVALIDATION 0 // changing to 0 issues 26 remote gettransaction, per utxo! need to change to bruteforcer #define NSPV_POLLITERS 10 #define NSPV_POLLMICROS 100777 #define NSPV_MAXVINS 64 diff --git a/src/komodo_nSPV_wallet.h b/src/komodo_nSPV_wallet.h index d0d079e61..f04cef11b 100644 --- a/src/komodo_nSPV_wallet.h +++ b/src/komodo_nSPV_wallet.h @@ -164,7 +164,7 @@ std::string NSPV_signtx(UniValue &retcodes,CMutableTransaction &mtx,uint64_t txf utxovout = mtx.vin[i].prevout.n; if ( i > 0 ) sleep(1); - validation = NSPV_gettransaction(NSPV_FULLVALIDATION,utxovout,mtx.vin[i].prevout.hash,used[i].height,vintx); + validation = NSPV_gettransaction(NSPV_SKIPFULLVALIDATION,utxovout,mtx.vin[i].prevout.hash,used[i].height,vintx); retcodes.push_back(validation); if ( validation != -1 ) // most others are degraded security {