Syntax
This commit is contained in:
@@ -21,6 +21,9 @@
|
|||||||
// no caching, no optimizations, no reducing the number of ntzsproofs needed by detecting overlaps, etc.
|
// 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
|
// 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_POLLITERS 15
|
||||||
#define NSPV_POLLMICROS 100000
|
#define NSPV_POLLMICROS 100000
|
||||||
#define NSPV_MAXVINS 64
|
#define NSPV_MAXVINS 64
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#define KOMODO_NSPVWALLET_H
|
#define KOMODO_NSPVWALLET_H
|
||||||
|
|
||||||
// nSPV wallet uses superlite functions (and some komodod built in functions) to implement nSPV_send
|
// 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_AUTOLOGOUT 60
|
||||||
#define NSPV_BRANCHID 0x76b809bb
|
#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("result","error"));
|
||||||
result.push_back(Pair("address",NSPV_utxosresult.coinaddr));
|
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("nodeheight",(int64_t)NSPV_utxosresult.nodeheight));
|
||||||
result.push_back(Pair("infoheight",(int64_t)NSPV_inforesult.height));
|
result.push_back(Pair("infoheight",(int64_t)NSPV_inforesult.height));
|
||||||
result.push_back(Pair("error","couldnt get addressutxos"));
|
result.push_back(Pair("error","couldnt get addressutxos"));
|
||||||
|
|||||||
Reference in New Issue
Block a user