Changeset View
Changeset View
Standalone View
Standalone View
test/functional/mempool_packages.py
Show All 23 Lines | |||||
class MempoolPackagesTest(BitcoinTestFramework): | class MempoolPackagesTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
common_params = ["-maxorphantx=1000"] | common_params = ["-maxorphantx=1000"] | ||||
self.extra_args = [ | self.extra_args = [ | ||||
common_params, common_params + | common_params, common_params + | ||||
["-limitancestorcount={}".format(MAX_ANCESTORS_CUSTOM)]] | ["-limitancestorcount={}".format(MAX_ANCESTORS_CUSTOM)]] | ||||
self.supports_cli = False | |||||
def skip_test_if_missing_module(self): | def skip_test_if_missing_module(self): | ||||
self.skip_if_no_wallet() | self.skip_if_no_wallet() | ||||
# Build a transaction that spends parent_txid:vout | # Build a transaction that spends parent_txid:vout | ||||
# Return amount sent | # Return amount sent | ||||
def chain_transaction(self, node, parent_txid, vout, | def chain_transaction(self, node, parent_txid, vout, | ||||
value, fee, num_outputs): | value, fee, num_outputs): | ||||
▲ Show 20 Lines • Show All 307 Lines • Show Last 20 Lines |