Autologout 777
This commit is contained in:
@@ -228,7 +228,7 @@ UniValue NSPV_login(char *wifstr)
|
||||
strncpy(NSPV_wifstr,wifstr,sizeof(NSPV_wifstr)-1);
|
||||
NSPV_logintime = (uint32_t)time(NULL);
|
||||
result.push_back(Pair("result","success"));
|
||||
result.push_back(Pair("status","wif will expire in 60 seconds"));
|
||||
result.push_back(Pair("status","wif will expire in 777 seconds"));
|
||||
NSPV_key = DecodeSecret(wifstr);
|
||||
CPubKey pubkey = NSPV_key.GetPubKey();
|
||||
CKeyID vchAddress = pubkey.GetID();
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
// nSPV wallet uses superlite functions (and some komodod built in functions) to implement nSPV_spend
|
||||
extern void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry);
|
||||
|
||||
#define NSPV_AUTOLOGOUT 60
|
||||
#define NSPV_AUTOLOGOUT 777
|
||||
#define NSPV_BRANCHID 0x76b809bb
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user