Changeset View
Changeset View
Standalone View
Standalone View
test/functional/rawtransactions.py
Show All 17 Lines | |||||
# Create one-input, one-output, no-fee transaction: | # Create one-input, one-output, no-fee transaction: | ||||
class RawTransactionsTest(BitcoinTestFramework): | class RawTransactionsTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 3 | self.num_nodes = 3 | ||||
self.extra_args = [ | |||||
[], ["-deprecatedrpc=signrawtransaction"], ["-deprecatedrpc=signrawtransaction"]] | |||||
def setup_network(self, split=False): | def setup_network(self, split=False): | ||||
super().setup_network() | super().setup_network() | ||||
connect_nodes_bi(self.nodes, 0, 2) | connect_nodes_bi(self.nodes, 0, 2) | ||||
def run_test(self): | def run_test(self): | ||||
# prepare some coins for multiple *rawtransaction commands | # prepare some coins for multiple *rawtransaction commands | ||||
self.nodes[2].generate(1) | self.nodes[2].generate(1) | ||||
▲ Show 20 Lines • Show All 247 Lines • Show Last 20 Lines |