This commit is contained in:
jl777
2019-07-08 07:13:44 -11:00
parent 3064ea3578
commit f02128fb82
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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
{