Skip to content

Commit

Permalink
Merge bitcoin#30133: test: remove unneeded -maxorphantx=1000 settings
Browse files Browse the repository at this point in the history
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
  • Loading branch information
glozow committed May 20, 2024
2 parents 063bb2f + 8950053 commit ecd2365
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion test/functional/feature_rbf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def set_test_params(self):
self.num_nodes = 2
self.extra_args = [
[
"-maxorphantx=1000",
"-limitancestorcount=50",
"-limitancestorsize=101",
"-limitdescendantcount=200",
Expand Down
1 change: 0 additions & 1 deletion test/functional/mempool_package_onemore.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
class MempoolPackagesTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 1
self.extra_args = [["-maxorphantx=1000"]]

def chain_tx(self, utxos_to_spend, *, num_outputs=1):
return self.wallet.send_self_transfer_multi(
Expand Down
2 changes: 0 additions & 2 deletions test/functional/mempool_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ def set_test_params(self):
self.noban_tx_relay = True
self.extra_args = [
[
"-maxorphantx=1000",
],
[
"-maxorphantx=1000",
"-limitancestorcount={}".format(CUSTOM_ANCESTOR_LIMIT),
"-limitdescendantcount={}".format(CUSTOM_DESCENDANT_LIMIT),
],
Expand Down

0 comments on commit ecd2365

Please sign in to comment.