MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / send_transactions

Method send_transactions

test/functional/mining_basic.py:271–281  ·  view source on GitHub ↗

Helper to create and send transactions with the specified target virtual size and fee rate.

(self, utxos, fee_rate, target_vsize)

Source from the content-addressed store, hash-verified

269
270
271 def send_transactions(self, utxos, fee_rate, target_vsize):
272 """
273 Helper to create and send transactions with the specified target virtual size and fee rate.
274 """
275 for utxo in utxos:
276 self.wallet.send_self_transfer(
277 from_node=self.nodes[0],
278 utxo_to_spend=utxo,
279 target_vsize=target_vsize,
280 fee_rate=fee_rate,
281 )
282
283 def verify_block_template(self, expected_tx_count, expected_weight):
284 """

Callers 1

test_block_max_weightMethod · 0.95

Calls 1

send_self_transferMethod · 0.80

Tested by 1

test_block_max_weightMethod · 0.76