test: previous releases: add v22.0

This commit is contained in:
Sjors Provoost
2021-09-22 13:10:40 +02:00
parent 40849eebd9
commit d8b705f1ca
5 changed files with 19 additions and 5 deletions

View File

@ -34,11 +34,12 @@ from test_framework.util import (
class BackwardsCompatibilityTest(BitcoinTestFramework):
def set_test_params(self):
self.setup_clean_chain = True
self.num_nodes = 8
self.num_nodes = 9
# Add new version after each release:
self.extra_args = [
["-addresstype=bech32"], # Pre-release: use to mine blocks
["-nowallet", "-walletrbf=1", "-addresstype=bech32"], # Pre-release: use to receive coins, swap wallets, etc
["-nowallet", "-walletrbf=1", "-addresstype=bech32"], # v22.0
["-nowallet", "-walletrbf=1", "-addresstype=bech32"], # v0.21.0
["-nowallet", "-walletrbf=1", "-addresstype=bech32"], # v0.20.1
["-nowallet", "-walletrbf=1", "-addresstype=bech32"], # v0.19.1
@ -56,6 +57,7 @@ class BackwardsCompatibilityTest(BitcoinTestFramework):
self.add_nodes(self.num_nodes, extra_args=self.extra_args, versions=[
None,
None,
220000,
210000,
200100,
190100,