dash/test/functional/test_framework
MarcoFalke 101a863399
Merge bitcoin/bitcoin#16333: test: Set BIP34Height = 2 for regtest
222290f54388270937cb6c174195717e2214ec0d test: Set BIP34Height = 2 for regtest (MarcoFalke)
fac90c55be478f0323eafa1d560ea2c56f04fb23 test: Create all blocks with version 4 or higher (MarcoFalke)

Pull request description:

  BIP34 is active on the current tip of mainnet, so all miners must obey it. It would be nice if it also was active in fresh regtest instances from the earliest time possible.

  I changed the BIP34 height to `2`, so that the block at height=1 may be used to mine a duplicate coinbase. (Needed to test mainnet behaviour)

  This pull is done in two commits:

  *  test: Create all blocks with version 4 or higher:
     Now that BIP34 is activated earlier, we need to create blocks with a higher version number. Just bump it to 4 instead of 2 to avoid having to bump it again later.

  *  test: Set BIP34Height = 2 for regtest:
     This fixes the BIP34 implementation in the tests (to match the one of the Core codebase) and updates the tests where needed

ACKs for top commit:
  ajtowns:
    ACK 222290f54388270937cb6c174195717e2214ec0d
  jonatack:
    ACK 222290f54388270937cb6c174195717e2214ec0d tested and reviewed rebased to current master 5e213822f86d
  theStack:
    Tested ACK 222290f54388270937cb6c174195717e2214ec0d

Tree-SHA512: d69c637a62a64b8e87de8c7f0b305823d8f4d115c1852514b923625dbbcf9a4854b5bb3771ff41702ebf47c4c182a4442c6d7c0b9f282c95a34b83e56a73939b
2024-08-12 11:43:36 +07:00
..
crypto
__init__.py
address.py
authproxy.py
bdb.py Merge #21124: test: remove unnecessary assignment in bdb 2024-06-04 12:50:36 -05:00
bip340_test_vectors.csv
blockfilter.py
blocktools.py Merge bitcoin/bitcoin#16333: test: Set BIP34Height = 2 for regtest 2024-08-12 11:43:36 +07:00
coverage.py
descriptors.py
key.py
messages.py Merge bitcoin/bitcoin#16333: test: Set BIP34Height = 2 for regtest 2024-08-12 11:43:36 +07:00
netutil.py test: disable ipv6 tests for now 2024-04-21 15:12:18 +03:00
p2p.py Merge #5978: backport: merge bitcoin#21594, #21843, #22306, #22211, #22387, #21528, #22616, #22604, #22960, #23218 (networking backports: part 3) 2024-04-15 10:49:14 -05:00
script_util.py
script.py
socks5.py
test_framework.py merge bitcoin#21762: Speed up mempool_spend_coinbase.py 2024-07-23 17:45:23 +00:00
test_node.py fix: createwallet to require 'load_on_startup' for descriptor wallets 2024-07-07 21:56:16 +07:00
test_shell.py
util.py Merge bitcoin/bitcoin#22550: test: improve test_signing_with_{csv,cltv} subtests (speed, prevent timeout) 2024-08-09 14:50:13 +07:00
wallet_util.py
wallet.py Merge bitcoin/bitcoin#22048: test: MiniWallet: introduce enum type for output mode 2024-07-26 23:40:08 +07:00