wallet/rpc: add maxfeerate parameter to sendrawtransaction

This commit is contained in:
Karl-Johan Alm
2018-06-27 17:21:07 +09:00
parent e5efacb941
commit 6c0a6f73e3
13 changed files with 126 additions and 70 deletions

View File

@@ -185,7 +185,7 @@ class ListTransactionsTest(BitcoinTestFramework):
tx3_b.vout[0].nValue -= int(Decimal("0.004") * COIN) # bump the fee
tx3_b = tx3_b.serialize().hex()
tx3_b_signed = self.nodes[0].signrawtransactionwithwallet(tx3_b)['hex']
txid_3b = self.nodes[0].sendrawtransaction(tx3_b_signed, True)
txid_3b = self.nodes[0].sendrawtransaction(tx3_b_signed, 0)
assert is_opt_in(self.nodes[0], txid_3b)
assert_array_result(self.nodes[0].listtransactions(), {"txid": txid_4}, {"bip125-replaceable": "unknown"})