A couple of minor cleanups suggested by @ryanofsky here: #11022#pullrequestreview-55598940
Does not affect functionality. Not required for v0.15.
A couple of minor cleanups suggested by @ryanofsky here: #11022#pullrequestreview-55598940
Does not affect functionality. Not required for v0.15.
Log message is consistent with others related.
Nit, I would reword 063aab4 to Remove unused CWallet::HasUnusedKeys
since it doesn’t really revert c25d90f, but keep the body.
ACK 61aa92d.
Unused function. Mostly reverts c25d90f125d69e33688288eff439eb7be75012e9
c25d90f... was merged as part of PR 11022 but is not required.
3658@@ -3659,15 +3659,11 @@ void CWallet::MarkReserveKeysAsUsed(int64_t keypool_id)
3659 m_pool_key_to_index.erase(keypool.vchPubKey.GetID());
3660 }
3661 walletdb.ErasePool(index);
3662+ LogPrintf("keypool index %d removed\n", index);
This matches the existing ‘keypool keep’ logs, which are not wallet debug category.
This PR already has a bunch of ACKs and it’s wanted for rc2, so I’d rather not change this now. I’ll happily open a PR to make this (and other wallet logs) wallet debug category.