Refactor
CreateTransaction()
now accepts a input-value over the nFee
parameter (currently only used to return the calculated fee). This “base fee” will be the delta to the calculated fee. This allows to create transaction replacements with respecting the previous fee of the replaced transaction.
bumpfee RPC command
Syntax: bumpfee <txid>
Bumpfee will directly sign&send the new transaction and reports the old/new fee and the new <txid>
.
How it works: the Bumpfee command removes all previous signatures, removes change outputs and re-funds the transaction (if necessary).
Currently, bumpfee
will increase the fees by using the <old transaction fee> + <new transaction fee estimate>
.
Increasing the fees can involve adding n
inputs (which can again increase the require minimum fee).
sendtoaddress / sandmany
Added another parameter to sendtoaddress
and sendmany
. The boolean parameter defines if the transaction will signal opt-in-RBF over the nSequence number after BIP125.
Bitcoin-Tx / CreateRawTransaction
- Extended
bitcoin-tx
to accept a sequence number when adding inputs - Extended
createrawtransaction
to accept a sequence number when defining inputs
Possible next steps
- Add a
bumprawtransaction
command - Refactor transaction signing
- Optimize the fee-estimation for replacements