This is only called by other methods of CChainState so make it private.
Depends on D7440
Differential D7573
[refactor] make InvalidChainFound part of CChainState's implementation majcosta on Sep 25 2020, 19:59. Authored by
Details
This is only called by other methods of CChainState so make it private. Depends on D7440 ninja check check-functional
Diff Detail
Event TimelineComment Actions I don't see how that helps? If doesn't look like it needs to access local state of the function, so making is static is better. Unless you have some plan to move the state it uses, like pindexBestInvalid into CChainState ? In which case, you need to provide a rationale for this refactoring. |