Skip to content
Bitcoin Roots

v29.4-roots.4 · Commit 10: [PATCH 10/37] fix: harden final Roots assurance

test/functional/tool_utxo_to_sqlite.py

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

File metadata
index 2da7c42a86bc89cbdf742b6720d302a7e8fa8d3f..ef95b34acc50c4e597dbaa83c3f1443c158afc59 100755

Download original patch · Release notes

Diff rows 1–16 of 16. 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/tool_utxo_to_sqlite.py CHANGED
@@ -56,7 +56,7 @@ class UtxoToSqliteTest(BitcoinTestFramework):
56
56
  def set_test_params(self):
57
57
  self.num_nodes = 1
58
58
  # we want to create some UTXOs with non-standard output scripts
59
- self.extra_args = [['-acceptnonstdtxn=1']]
59
+ self.extra_args = [['-acceptnonstdtxn=1', '-maxscriptsize=100000']]
60
60
 
61
61
  def skip_test_if_missing_module(self):
62
62
  self.skip_if_no_py_sqlite3()
@@ -93,7 +93,7 @@ class UtxoToSqliteTest(BitcoinTestFramework):
93
93
 
94
94
  # create outputs and mine them in a block
95
95
  for output_script in output_scripts:
96
- wallet.send_to(from_node=node, scriptPubKey=output_script, amount=i, fee=20000)
96
+ wallet.send_to(from_node=node, scriptPubKey=output_script, amount=i, fee=200000)
97
97
  self.generate(wallet, 1)
98
98
 
99
99
  self.log.info('Dump UTXO set via `dumptxoutset` RPC')