Skip to content

Commit ecd2365

Browse files
committed
Merge bitcoin#30133: test: remove unneeded -maxorphantx=1000 settings
8950053 test: remove unneeded `-maxorphantx=1000` settings (Sebastian Falbesoner) Pull request description: It's unclear what the motivation for increasing the orphan pool is here, 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). ACKs for top commit: maflcko: utACK 8950053 edilmedeiros: Tested ACK 8950053 AngusP: tACK 8950053 glozow: ACK 8950053 From skimming the tests, it appears that none of these need a larger `-maxorphantx`. Tree-SHA512: 81d4a4fb2ea92b97119f21cbc6c4b1240d863269932e6adf4982aead9726f20652523a4707add3ad38eb332d4452de41de6735265f22e62298f3b4b45de75a57
2 parents 063bb2f + 8950053 commit ecd2365

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

test/functional/feature_rbf.py

-1
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

-1
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

-2
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)