diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-10-27 11:18:57 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-11-09 12:25:48 +0100 |
commit | 041abfebe49ae5e3e882c00cc5caea1365a27a49 (patch) | |
tree | 55cf10c35d6cb27081e718b198c4a97a3ce3ca65 /test/functional/mempool_compatibility.py | |
parent | 4a2edf2bf708b6044562995e35f2dbbd2b26c364 (diff) |
test: MiniWallet: add P2TR support and use it per default
Diffstat (limited to 'test/functional/mempool_compatibility.py')
-rwxr-xr-x | test/functional/mempool_compatibility.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/functional/mempool_compatibility.py b/test/functional/mempool_compatibility.py index 5263920dae..d450b40582 100755 --- a/test/functional/mempool_compatibility.py +++ b/test/functional/mempool_compatibility.py @@ -7,14 +7,17 @@ NOTE: The test is designed to prevent cases when compatibility is broken accidentally. In case we need to break mempool compatibility we can continue to use the test by just bumping the version number. -The previous release v0.15.2 is required by this test, see test/README.md. +The previous release v0.19.1 is required by this test, see test/README.md. """ import os from test_framework.blocktools import COINBASE_MATURITY from test_framework.test_framework import BitcoinTestFramework -from test_framework.wallet import MiniWallet +from test_framework.wallet import ( + MiniWallet, + MiniWalletMode, +) class MempoolCompatibilityTest(BitcoinTestFramework): @@ -37,7 +40,7 @@ class MempoolCompatibilityTest(BitcoinTestFramework): self.log.info("Test that mempool.dat is compatible between versions") old_node, new_node = self.nodes - new_wallet = MiniWallet(new_node) + new_wallet = MiniWallet(new_node, mode=MiniWalletMode.RAW_P2PK) self.generate(new_wallet, 1, sync_fun=self.no_op) self.generate(new_node, COINBASE_MATURITY, sync_fun=self.no_op) # Sync the nodes to ensure old_node has the block that contains the coinbase that new_wallet will spend. |