mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-11 12:03:04 +02:00
Merge bitcoin/bitcoin#21090: Default to NODE_WITNESS in nLocalServices
a806647d26
[validation] Always include merkle root in coinbase commitment (Dhruv Mehta)189128c220
[validation] Set witness script flag with p2sh for blocks (Dhruv Mehta)ac82b99db7
[p2p] remove redundant NODE_WITNESS checks (Dhruv Mehta)6f8b198b82
[p2p] remove unused segwitheight=-1 option (Dhruv Mehta)eba5b1cd64
[test] remove or move tests using `-segwitheight=-1` (Dhruv Mehta) Pull request description: Builds on #21009 and makes progress on remaining items in #17862 Removing `RewindBlockIndex()` in #21009 allows the following: - removal of tests using `segwitheight=-1` in `p2p_segwit.py`. - move `test_upgrade_after_activation()` out of `p2p_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 inside `net_processing.cpp`, since our local services would always include `NODE_WITNESS` ACKs for top commit: mzumsande: Code-Review ACKa806647d26
laanwj: Code review ACKa806647d26
, nice cleanup jnewbery: utACKa806647d26
theStack: ACKa806647d26
Tree-SHA512: 73e1a69d1d7eca1f5c38558ec6672decd0b60b16c2ef6134df6f6af71bb159e6eea160f9bb5ab0eb6723c6632d29509811e29469d0d87abbe9b69a2890fbc73e
This commit is contained in:
@@ -297,6 +297,7 @@ BASE_SCRIPTS = [
|
||||
'wallet_startup.py',
|
||||
'p2p_i2p_ports.py',
|
||||
'feature_config_args.py',
|
||||
'feature_presegwit_node_upgrade.py',
|
||||
'feature_settings.py',
|
||||
'rpc_getdescriptorinfo.py',
|
||||
'rpc_addresses_deprecation.py',
|
||||
|
Reference in New Issue
Block a user