Changeset View
Changeset View
Standalone View
Standalone View
test/functional/mempool_resurrect_test.py
Show All 11 Lines | |||||
from test_framework.util import * | from test_framework.util import * | ||||
# Create one-input, one-output, no-fee transaction: | # Create one-input, one-output, no-fee transaction: | ||||
class MempoolCoinbaseTest(BitcoinTestFramework): | class MempoolCoinbaseTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.extra_args = [ | self.extra_args = [["-checkmempool"]] | ||||
["-checkmempool", "-deprecatedrpc=signrawtransaction"]] | |||||
def run_test(self): | def run_test(self): | ||||
node0_address = self.nodes[0].getnewaddress() | node0_address = self.nodes[0].getnewaddress() | ||||
# Spend block 1/2/3's coinbase transactions | # Spend block 1/2/3's coinbase transactions | ||||
# Mine a block. | # Mine a block. | ||||
# Create three more transactions, spending the spends | # Create three more transactions, spending the spends | ||||
# Mine another block. | # Mine another block. | ||||
# ... make sure all the transactions are confirmed | # ... make sure all the transactions are confirmed | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |