Based on: #21767
à la Mr. Sandman
0Mr. Chainman, bring me a tip (bung, bung, bung, bung)
1Make it the most work that I've ever seen (bung, bung, bung, bung)
2Rewind old tip till we're at the fork point (bung, bung, bung, bung)
3Then tell it that it's time to call Con-nectTip
4
5Chainman, I'm so alone (bung, bung, bung, bung)
6No local objects to call my own (bung, bung, bung, bung)
7Please make sure I have a ref
8Mr. Chainman, bring me a tip!
This is the last bundle in the #20158 series. Thanks everyone for their diligent review. I would like to call attention to #21766, where a few leftover improvements were collated.
- Remove globals:
ChainstateManager g_chainman
CChainState& ChainstateActive()
CChain& ChainActive()
- Remove all review-only assertions.