There's no need to have this member live on CChainState since it's only used
in validation.cpp.
https://github.com/bitcoin/bitcoin/pull/16194/commits/55d525ab9004631d30dcc60a1ec5d9cd6c6afe56
Depends on D6967
Partial backport of Core PR16194
Differential D6968
[backport#16194] refactoring: make pindexBestInvalid internal to validation.cpp majcosta on Jul 17 2020, 21:18. Authored by
Details
There's no need to have this member live on CChainState since it's only used https://github.com/bitcoin/bitcoin/pull/16194/commits/55d525ab9004631d30dcc60a1ec5d9cd6c6afe56 Depends on D6967 Partial backport of Core PR16194 ninja check && ninja check-functional
Diff Detail
Event TimelineComment Actions this is still encapsulation theatre, since both members are still public. but at least they're on just one place now and considering PR scope, it's a start |