Builds on #21009 and makes progress on remaining items in #17862
Removing RewindBlockIndex()
in #21009 allows the following:
- removal of tests using
segwitheight=-1
inp2p_segwit.py
. - move
test_upgrade_after_activation()
out ofp2p_segwit.py
reducing runtime - in turn, that allows us to drop support for
-segwitheight=-1
, which is only supported for that test. - that allows us to always set
NODE_WITNESS
in our local services. The only reason we don’t do that is to support-segwitheight=-1
. - that in turn allows us to drop all of the
GetLocalServices() & NODE_WITNESS
checks insidenet_processing.cpp
, since our local services would always includeNODE_WITNESS