There are 2 proposed fixups in discussions in #23280 which I have not implemented:
- An overhaul to return types and an option type for the two
*Chainstate
functions: #23280 (comment)- The change reintroduces stringy return types and is quite involved. It could be discussed in a separate PR.
- Passing in the unix time to
VerifyChainstate
instead of a callback to get the time: #23280 (review)- I’m not sure it matters much whether it’s a callback or just the actual unix time. Also, I think
VerifyDB
can take quite a while, and I don’t want to impose that the function have to “run quickly” in order to have it be correct.
- I’m not sure it matters much whether it’s a callback or just the actual unix time. Also, I think
If reviewers feel strongly about either of the two fixups listed above, please feel free to open a PR based on mine and I’ll close this one!