difficulty targetpow test set-up disabled for elements

This commit is contained in:
Tom Trevethan 2026-04-21 10:13:33 +01:00
parent f6e69cc641
commit a2734e9a6d
No known key found for this signature in database
2 changed files with 4 additions and 6 deletions

View file

@ -236,11 +236,9 @@ class AssumeutxoTest(BitcoinTestFramework):
assert_equal(normal['blocks'], START_HEIGHT + 99)
assert_equal(snapshot['blocks'], SNAPSHOT_BASE_HEIGHT)
# Both states should have the same nBits and target: ELEMENTS FIXME
#assert_equal(normal['bits'], nbits_str(REGTEST_N_BITS))
#assert_equal(normal['target'], target_str(REGTEST_TARGET))
#assert_equal(normal['bits'], snapshot['bits'])
#assert_equal(normal['target'], snapshot['target'])
# Both states should have the same nBits (target not included in elements mode)
assert_equal(normal['bits'], snapshot['bits'])
# assert_equal(normal['target'], snapshot['target'])
# Now lets sync the nodes and wait for the background validation to finish
self.connect_nodes(0, 3)

View file

@ -365,7 +365,7 @@ BASE_SCRIPTS = [
#'wallet_upgradewallet.py --legacy-wallet',
'wallet_crosschain.py',
'mining_basic.py',
# ELEMENTS FIXME: new mainnet PoW test set-up. Determine if can be made compatible with Elements or if we need to delete it.
# ELEMENTS: PoW test set-up disabled.
# 'mining_mainnet.py',
'feature_signet.py',
'p2p_mutated_blocks.py',