diff options
| author | Jon Atack <[email protected]> | 2020-11-04 13:13:17 +0100 |
|---|---|---|
| committer | Jon Atack <[email protected]> | 2020-11-11 15:55:59 +0100 |
| commit | a0d495747320c79b27a83c216dcc526ac8df8f24 (patch) | |
| tree | 1d662469632dc37850ff4b5bd9a9e04566f8e78a /src/httpserver.h | |
| parent | wallet: remove unneeded WALLET_BTC_KB_TO_SAT_B constant (diff) | |
| download | discoin-a0d495747320c79b27a83c216dcc526ac8df8f24.tar.xz discoin-a0d495747320c79b27a83c216dcc526ac8df8f24.zip | |
wallet: introduce fee_rate (sat/vB) param/option
Create a fee_rate (sat/vB) RPC param and replace overloading the conf_target and
estimate_mode params in the following 6 RPCs with it:
- sendtoaddress
- sendmany
- send
- fundrawtransaction
- walletcreatefundedpsbt
- bumpfee
In RPC bumpfee, the previously existing fee_rate remains but the unit is changed
from BTC/kvB to sat/vB. This is a breaking change, but it should not be an
overly risky one, as the units change by a factor of 1e5 and any fees specified
in BTC/kvB after this commit will either be too low and raise an error or be 1
sat/vB and can be RBFed.
Update the test coverage for each RPC.
Co-authored-by: Murch <[email protected]>
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions