Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 10: [PATCH 10/68] fix: harden Roots priority and wallet policy boundaries

test/functional/mempool_package_limits.py

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

File metadata
index 63106f346f3f7d13df55550b3497ecbb54efb953..337f799da3758284abf9f25e6048e34d877ffa0b 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/mempool_package_limits.py CHANGED
@@ -39,6 +39,7 @@ class MempoolPackageLimitsTest(BitcoinTestFramework):
39
39
  def set_test_params(self):
40
40
  self.num_nodes = 1
41
41
  self.setup_clean_chain = True
42
+ self.extra_args = [["-maxscriptsize=100000"]]
42
43
 
43
44
  def run_test(self):
44
45
  self.wallet = MiniWallet(self.nodes[0])
@@ -51,6 +52,9 @@ class MempoolPackageLimitsTest(BitcoinTestFramework):
51
52
  self.test_anc_count_limits()
52
53
  self.test_anc_count_limits_2()
53
54
  self.test_anc_count_limits_bushy()
55
+
56
+ # The node will accept (nonstandard) extra large OP_RETURN outputs
57
+ self.restart_node(0, extra_args=["-datacarriersize=100000", "-maxscriptsize=100000"])
54
58
  self.test_anc_size_limits()
55
59
  self.test_desc_size_limits()
56
60