Object obj;
obj.push_back(Pair("proof-of-work", GetDifficulty()));
obj.push_back(Pair("proof-of-stake", GetDifficulty(GetLastBlockIndex(pindexBest, true))));
+ obj.push_back(Pair("search-interval", (int)nLastCoinStakeSearchInterval));
return obj;
}
int nMismatchSpent;
int64 nBalanceInQuestion;
+ pwalletMain->FixSpentCoins(nMismatchSpent, nBalanceInQuestion, true);
Object result;
- if (pwalletMain->CheckSpentCoins(nMismatchSpent, nBalanceInQuestion))
+ if (nMismatchSpent == 0)
result.push_back(Pair("wallet check passed", true));
else
{