This is required to expose CChainState to the public.
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGINGa890296d4908: Move DisconnectResult in its own header and make it an enum class
rABCa890296d4908: Move DisconnectResult in its own header and make it an enum class
ninja all check-all
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I assume this work is related to https://github.com/bitcoin/bitcoin/pull/15976/commits/d7c97edeea8cee10ad9da1f940d39d5073ac142d
We already own this part of the code due to D364 and that commit on Core appears to be shuffling DisconnectResult into validation.h which is not a good long-term solution.
This looks like the right approach, but the naming should change now that it sits on its own at the src level.
src/disconnectresult.h | ||
---|---|---|
8 ↗ | (On Diff #19799) | Maybe ChainDisconnectResult? Without peering into this header, it could be anything. Networking, chain, etc. |