Skip to content

Commit 8950053

Browse files
committed
test: remove unneeded -maxorphantx=1000 settings
It's unclear what the motivation for increasing the orphan pool is, and it seems that this not needed at all. None of these tests involve orphan transactions explicitly, and if they would occur occasionally, there is no good reason to prefer a value of 1000 over the default of 100 (see DEFAULT_MAX_ORPHAN_TRANSACTIONS).
1 parent 058af75 commit 8950053

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

test/functional/feature_rbf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def set_test_params(self):
2828
self.num_nodes = 2
2929
self.extra_args = [
3030
[
31-
"-maxorphantx=1000",
3231
"-limitancestorcount=50",
3332
"-limitancestorsize=101",
3433
"-limitdescendantcount=200",

test/functional/mempool_package_onemore.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
class MempoolPackagesTest(BitcoinTestFramework):
2222
def set_test_params(self):
2323
self.num_nodes = 1
24-
self.extra_args = [["-maxorphantx=1000"]]
2524

2625
def chain_tx(self, utxos_to_spend, *, num_outputs=1):
2726
return self.wallet.send_self_transfer_multi(

test/functional/mempool_packages.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ def set_test_params(self):
3131
self.noban_tx_relay = True
3232
self.extra_args = [
3333
[
34-
"-maxorphantx=1000",
3534
],
3635
[
37-
"-maxorphantx=1000",
3836
"-limitancestorcount={}".format(CUSTOM_ANCESTOR_LIMIT),
3937
"-limitdescendantcount={}".format(CUSTOM_DESCENDANT_LIMIT),
4038
],

0 commit comments

Comments
 (0)