Changeset View
Changeset View
Standalone View
Standalone View
test/functional/mempool_limit.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (c) 2014-2016 The Bitcoin Core developers | # Copyright (c) 2014-2016 The Bitcoin Core developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
# Test mempool limiting together/eviction with the wallet | # Test mempool limiting together/eviction with the wallet | ||||
from test_framework.blocktools import ( | |||||
create_confirmed_utxos, | |||||
send_big_transactions, | |||||
) | |||||
from test_framework.test_framework import BitcoinTestFramework | from test_framework.test_framework import BitcoinTestFramework | ||||
from test_framework.blocktools import send_big_transactions, create_confirmed_utxos | |||||
class MempoolLimitTest(BitcoinTestFramework): | class MempoolLimitTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.extra_args = [["-maxmempool=5", "-spendzeroconfchange=0"]] | self.extra_args = [["-maxmempool=5", "-spendzeroconfchange=0"]] | ||||
Show All 34 Lines |