Page MenuHomePhabricator

[backport#15588 3/3] Remove ReadVersion and WriteVersion
ClosedPublic

Authored by majcosta on Jul 23 2020, 03:59.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCd81f0d2aae5c: [backport#15588 3/3] Remove ReadVersion and WriteVersion
Summary

The "version" record that these functions read and write are not
used anywhere in the code except for one place. There is no reason
to expose these functions publicly. Furthermore, this avoids potential
confusion as developers may mistake these functions for actually
reading and writing the wallet version when they do not.

https://github.com/bitcoin/bitcoin/pull/15588/commits/35e60e790f2cd602d1bdd0be835d27f0ba37efa9


Depends on D7018

Concludes backport of Core PR15588

Test Plan
ninja check check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 23 2020, 08:51

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.