Skip to content
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

Merged
merged 5 commits into from
Aug 20, 2024

Commits on Aug 14, 2024

  1. Merge bitcoin#22818: test: Activate all regtest softforks at height 1…

    …, 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
    merge-script authored and knst committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    d1676b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfd7ea2 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    593c6cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5fa64bc View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. feat: enforce DIP0001 from first block on regtest and drop fDIP0001Ac…

    …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
    knst committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    f4ba2bb View commit details
    Browse the repository at this point in the history