|
|
|
@ -625,7 +625,7 @@ class RawTransactionsTest(BitcoinTestFramework):
@@ -625,7 +625,7 @@ class RawTransactionsTest(BitcoinTestFramework):
|
|
|
|
|
inputs = [] |
|
|
|
|
outputs = {self.nodes[3].getnewaddress() : 1} |
|
|
|
|
rawtx = self.nodes[3].createrawtransaction(inputs, outputs) |
|
|
|
|
result = self.nodes[3].fundrawtransaction(rawtx) # uses min_relay_tx_fee (set by settxfee) |
|
|
|
|
result = self.nodes[3].fundrawtransaction(rawtx, {"feeRate": 1*min_relay_tx_fee}) # uses min_relay_tx_fee (set by settxfee) |
|
|
|
|
result2 = self.nodes[3].fundrawtransaction(rawtx, {"feeRate": 2*min_relay_tx_fee}) |
|
|
|
|
result3 = self.nodes[3].fundrawtransaction(rawtx, {"feeRate": 10*min_relay_tx_fee}) |
|
|
|
|
result_fee_rate = result['fee'] * 1000 / count_bytes(result['hex']) |
|
|
|
|