[wallet] don't create long chains by default

This commit is contained in:
glozow
2022-03-08 11:07:39 +00:00
parent c9ed9927bb
commit da2bc865d6
3 changed files with 7 additions and 5 deletions

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'],
[],
]