Delay caching of nullifiers when wallet is locked

Closes #1502
This commit is contained in:
Jack Grigg
2016-10-11 21:49:14 -05:00
parent 8f445ee774
commit 1a62587e9a
5 changed files with 226 additions and 23 deletions

View File

@@ -1877,6 +1877,7 @@ Value walletpassphrase(const Array& params, bool fHelp)
"walletpassphrase <passphrase> <timeout>\n"
"Stores the wallet decryption key in memory for <timeout> seconds.");
pwalletMain->UpdateNullifierNoteMap();
pwalletMain->TopUpKeyPool();
int64_t nSleepTime = params[1].get_int64();