[wallet] don't create long chains by default

This commit is contained in:
glozow committed 2022-03-25 16:02:37 +00:00
1 parent c9ed9927bb
commit da2bc865d6
3 files changed
+7 -5

No files matched your search

+3 -1
View File
@@ -50,7 +50,9 @@ class WalletTest(BitcoinTestFramework):
self.num_nodes = 2
self.setup_clean_chain = True
self.extra_args = [
['-limitdescendantcount=3'], # Limit mempool descendants as a hack to have wallet txs rejected from the mempool
# Limit mempool descendants as a hack to have wallet txs rejected from the mempool.
# Set walletrejectlongchains=0 so the wallet still creates the transactions.
['-limitdescendantcount=3', '-walletrejectlongchains=0'],
[],
]