Skip to content
Bitcoin Roots

v29.4-roots.2 · Commit 8: [PATCH 08/21] ci: restore assurance and isolate Core fixtures

test/functional/wallet_backup.py

Before: test/functional/wallet_backup.py · After: test/functional/wallet_backup.py

File metadata
index 3ff798d3d37d1d27b675fa333a58445900b5bca9..ce0ee3800eafd2dd987896665b681a2f3b8018aa 100755

Download original patch · Release notes

Diff rows 1–22 of 22. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

test/functional/wallet_backup.py CHANGED
@@ -53,11 +53,11 @@ class WalletBackupTest(BitcoinTestFramework):
53
53
  self.setup_clean_chain = True
54
54
  # whitelist peers to speed up tx relay / mempool sync
55
55
  self.noban_tx_relay = True
56
- # nodes 1, 2, 3 are spenders, let's give them a keypool=100
56
+ # Nodes 0, 1, and 2 are spenders. Keep same-round change reusable; RBF behavior is tested elsewhere.
57
57
  self.extra_args = [
58
- ["-keypool=100"],
59
- ["-keypool=100"],
60
- ["-keypool=100"],
58
+ ["-keypool=100", "-walletrbf=0"],
59
+ ["-keypool=100", "-walletrbf=0"],
60
+ ["-keypool=100", "-walletrbf=0"],
61
61
  [],
62
62
  ]
63
63
  self.rpc_timeout = 120
@@ -77,6 +77,7 @@ class WalletBackupTest(BitcoinTestFramework):
77
77
  if (randint(1,2) == 1):
78
78
  amount = Decimal(randint(1,10)) / Decimal(10)
79
79
  self.nodes[from_node].sendtoaddress(to_address, amount)
80
+ self.nodes[from_node].syncwithvalidationinterfacequeue()
80
81
 
81
82
  def do_one_round(self):
82
83
  a0 = self.nodes[0].getnewaddress()