v29.4-roots.3 · Commit 10: [PATCH 10/30] 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
test/functional/tool_utxo_to_sqlite.py
CHANGED
|
@@ -56,7 +56,7 @@ class UtxoToSqliteTest(BitcoinTestFramework):
|
|
| 56 |
def set_test_params(self):
|
| 57 |
self.num_nodes = 1
|
| 58 |
# we want to create some UTXOs with non-standard output scripts
|
| 59 |
-
self.extra_args = [['-acceptnonstdtxn=1']]
|
| 60 |
|
| 61 |
def skip_test_if_missing_module(self):
|
| 62 |
self.skip_if_no_py_sqlite3()
|
|
@@ -93,7 +93,7 @@ class UtxoToSqliteTest(BitcoinTestFramework):
|
|
| 93 |
|
| 94 |
# create outputs and mine them in a block
|
| 95 |
for output_script in output_scripts:
|
| 96 |
-
wallet.send_to(from_node=node, scriptPubKey=output_script, amount=i, fee=20000)
|
| 97 |
self.generate(wallet, 1)
|
| 98 |
|
| 99 |
self.log.info('Dump UTXO set via `dumptxoutset` RPC')
|
|
|
|
| 56 |
def set_test_params(self):
|
| 57 |
self.num_nodes = 1
|
| 58 |
# we want to create some UTXOs with non-standard output scripts
|
| 59 |
+
self.extra_args = [['-acceptnonstdtxn=1', '-maxscriptsize=100000']]
|
| 60 |
|
| 61 |
def skip_test_if_missing_module(self):
|
| 62 |
self.skip_if_no_py_sqlite3()
|
|
|
|
| 93 |
|
| 94 |
# create outputs and mine them in a block
|
| 95 |
for output_script in output_scripts:
|
| 96 |
+
wallet.send_to(from_node=node, scriptPubKey=output_script, amount=i, fee=200000)
|
| 97 |
self.generate(wallet, 1)
|
| 98 |
|
| 99 |
self.log.info('Dump UTXO set via `dumptxoutset` RPC')
|