-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: fire up test chains by first block: bitcoin#22818, dip1, dip8, dip20, brr - 3/n #6214
Conversation
…, unless overridden fa4db86 test: Activate all regtest softforks at height 1, unless overridden (MarcoFalke) faad1e5 Introduce -testactivationheight=name@height setting (MarcoFalke) fadb2ef test: Add extra_args argument to TestChain100Setup constructor (MarcoFalke) faa4698 test: Remove version argument from build_next_block in p2p_segwit test (MarcoFalke) fa086ef test: Remove unused ~TestChain100Setup (MarcoFalke) Pull request description: All softforks that are active at the tip of mainnet, should also be active from genesis in regtest. Otherwise their rules might not be enforced in user testing, thus making their testing less useful. To still allow tests to check pre-softfork rules, a runtime argument can change the activation height. ACKs for top commit: laanwj: Code review ACK fa4db86 theStack: re-ACK fa4db86 Tree-SHA512: 6397d46ff56ebc48c007a4cda633904d6ac085bc76b4ecf83097c546c7eec93ac0c44b88083b2611b9091c8d1fb8ee1e314065de078ef15e922c015de7ade8bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@UdjinM6 , I would disagree with both patches. There are both values
I'd say inside That remove existing command line argument, I'd like to keep it for v21.2 just in case if anyone uses it. |
Sounds good |
…tiveAtTip The flag fDIP0001ActiveAtTip shows a status of activation of DIP0001 This flag is used currently only in net.cpp for setup block buffer size. Assume the bigger by default so far as DIP0001 is activated years ago
Indeed, it makes sense. Please check my force-push: I applied your changes and also dropped a global flag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
side note: thinking more about -bip147height
and -dip8params
.. they are regtest-only and replacing them with corresponding -testactivationheight
cmd-line options is trivial. Dropping them would also prevent confusion when new and old options are used together accidentally. But I won't insist :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK f4ba2bb
Issue being fixed or feature implemented
What was done?
Backport bitcoin#22818 which helped to activate all forks from block-1 at regtest.
Activate next dash's softforks at block 1:
How Has This Been Tested?
Breaking Changes
All changes are relevant to RegTest only
Checklist: