This commit is contained in:
jl777
2019-07-05 19:56:07 -11:00
parent f542be0f7c
commit 754c912c2f
2 changed files with 5 additions and 2 deletions

View File

@@ -21,6 +21,9 @@
// no caching, no optimizations, no reducing the number of ntzsproofs needed by detecting overlaps, etc.
// advantage is that it is simpler to implement and understand to create a design for a more performant version
// interest calculations are currently just using what is returned, it should calculate it from scratch
// need to validate incoming data and update only if it is valid and more recent
#define NSPV_POLLITERS 15
#define NSPV_POLLMICROS 100000
#define NSPV_MAXVINS 64

View File

@@ -18,7 +18,7 @@
#define KOMODO_NSPVWALLET_H
// nSPV wallet uses superlite functions (and some komodod built in functions) to implement nSPV_send
// interest calculations are currently just using what is returned, it should calculate it from scratch
#define NSPV_AUTOLOGOUT 60
#define NSPV_BRANCHID 0x76b809bb
@@ -246,7 +246,7 @@ UniValue NSPV_send(char *srcaddr,char *destaddr,int64_t satoshis) // what its al
{
result.push_back(Pair("result","error"));
result.push_back(Pair("address",NSPV_utxosresult.coinaddr));
result.push_back(Pair("srcaddr",srcaddr.coinaddr));
result.push_back(Pair("srcaddr",srcaddr));
result.push_back(Pair("nodeheight",(int64_t)NSPV_utxosresult.nodeheight));
result.push_back(Pair("infoheight",(int64_t)NSPV_inforesult.height));
result.push_back(Pair("error","couldnt get addressutxos"));