When loading old wallets I get "Unknown wallet records" showing up in the log file. The key that is adding to the unknown record count is "setting", this is a known key removed in the 0.6 release of Bitcoin in the commit linked below. The "setting" key is not known to the wallet anymore, like "acentry" which is not added as an unknown record, but the "setting" key was used in previous versions of Bitcoin.
wallet: Do not add "setting" key as unknown #15709
pull Bushstar wants to merge 1 commits into bitcoin:master from Bushstar:walletdb-settings changing 2 files +4 −1-
Bushstar commented at 9:20 AM on March 31, 2019: contributor
- fanquake added the label Wallet on Mar 31, 2019
-
DrahtBot commented at 12:01 PM on March 31, 2019: member
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #16475 (wallet: Enumerate walletdb keys by MarcoFalke)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
-
in src/wallet/walletdb.cpp:422 in 0c71eaa3ea outdated
418 | @@ -419,7 +419,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue, 419 | return false; 420 | } 421 | } else if (strType != "bestblock" && strType != "bestblock_nomerkle" && 422 | - strType != "minversion" && strType != "acentry") { 423 | + strType != "minversion" && strType != "acentry" && strType != "setting") {
DrahtBot added the label Needs rebase on Jul 27, 2019Bushstar force-pushed on Jul 27, 2019DrahtBot removed the label Needs rebase on Jul 27, 2019DrahtBot added the label Needs rebase on Jul 30, 2019DrahtBot commented at 5:12 AM on July 30, 2019: member<!--cf906140f33d8803c4a75a2196329ecb-->Needs rebase
fanquake renamed this:Do not add setting as unknown
wallet: Do not add "setting" key as unknown
on Jul 30, 2019fanquake commented at 5:17 AM on July 30, 2019: member@achow101 | @meshcollider could one of your Concept ACK / NACK this.
Bushstar closed this on Jul 30, 2019Bushstar force-pushed on Jul 30, 2019Add setting as known type 914923d125Bushstar reopened this on Jul 30, 2019fanquake removed the label Needs rebase on Jul 30, 2019laanwj commented at 6:23 AM on July 30, 2019: memberACK 914923d125f5d17b39b4dc05f666d130e80a68b2, this code change is straightforward enough and I don't think it makes sense to warn about this key being present.
meshcollider commented at 8:28 AM on July 30, 2019: contributorACK 914923d125f5d17b39b4dc05f666d130e80a68b2
meshcollider merged this on Jul 30, 2019meshcollider closed this on Jul 30, 2019meshcollider referenced this in commit ff57fb4578 on Jul 30, 2019MarcoFalke locked this on Dec 16, 2021
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 15:14 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 15:14 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me