Repository navigation
wallet: Drop unused OldKey - #16502
Conversation
|
ACK c1c0819a3d9fb6815dcda2a5f1680d704188dcb8 Reviewed code. Looked through the git history and I could not find anywhere where |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
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. |
|
Concept ACK |
|
I'm confused. So this "wkey" code has existed all the way from the beginning and was never used? That's a very interesting observation. One though though: please fail loading when you encounter one instead of ignoring it. So if someone (it's very unlikely, but still) happens to load a wallet with one of these old keys in it, this makes sure they get a compatibility error, instead of the keys silently disappearing. |
|
Very nice find! Concept ACK assuming fail on encountering old key |
|
Looks good and agree with @laanwj about that it should fail in case a |
|
utACK df577f7ed0ab06c756110060e01b5be73582f115 modulo squash |
promag
left a comment
There was a problem hiding this comment.
I'll just wait for more feedback before squashing.
jnewbery
left a comment
There was a problem hiding this comment.
utACK df577f7ed0ab06c756110060e01b5be73582f115
Suggested changes inline.
df577f7 to
0b1f4b3
Compare
|
Squashed. |
|
ACK 0b1f4b3 |
0b1f4b3 wallet: Drop unused OldKey (João Barbosa) Pull request description: Replaces #16494, `OldKey` (previously `CWalletKey`) was never serialized in the code history which means that unserialization support is not required, so remove the code entirely. ACKs for top commit: jnewbery: ACK 0b1f4b3 laanwj: ACK 0b1f4b3 fanquake: ACK 0b1f4b3 Tree-SHA512: 92e9b2d6fc41f2765492d5d69d18fc4302c40ab44f28c8c30ca652c72767fbc484848c51a38ecf1f447849767a583c398784408bb5f64f9c86f9a5872b325ffc
Replaces #16494,
OldKey(previouslyCWalletKey) was never serialized in the code history which means that unserialization support is not required, so remove the code entirely.