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.
Tagged for backport if there is an rc2, as this fixes a confusing warning when building from source.
utACK 61aa92d9a854677cafefb15117c3d83d6bab6af6
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.
utACK 61aa92d9a854677cafefb15117c3d83d6bab6af6
Unused function. Mostly reverts c25d90f125d69e33688288eff439eb7be75012e9
c25d90f... was merged as part of PR 11022 but is not required.
Thanks @promag . I've changed the commit message, but contents of the commit are the same. Check that https://github.com/bitcoin/bitcoin/commit/61aa92d9a854677cafefb15117c3d83d6bab6af6 == 67ceff4039ae038ae16f06128f868a2e8395b59a
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);
I'd prefer to put this in the wallet debug category - it's just an info message, and not very useful for most end-users I guess? (it could even be vaguely worrying if you don't know what it's about)
Followup PR to change for all?
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.
Ok...
ACK 67ceff4.
Milestone
0.15.0