diff options
| author | Alex Morcos <[email protected]> | 2017-01-24 16:30:03 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-05-10 11:45:26 -0400 |
| commit | 4186d3fdfd319b568b520dd587be27bdff45c53d (patch) | |
| tree | f5df89a7fd16f64329bb05240472ff5d7a7437d6 /src/rpc/client.cpp | |
| parent | minor refactor: explicitly track start of new bucket range and don't update c... (diff) | |
| download | discoin-4186d3fdfd319b568b520dd587be27bdff45c53d.tar.xz discoin-4186d3fdfd319b568b520dd587be27bdff45c53d.zip | |
Expose estimaterawfee
Track information the ranges of fee rates that were used to calculate the fee estimates (the last range of fee rates in which the data points met the threshold and the first to fail) and provide an RPC call to return this information.
Diffstat (limited to 'src/rpc/client.cpp')
| -rw-r--r-- | src/rpc/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 941bdd937..afc1fa1c7 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -106,6 +106,9 @@ static const CRPCConvertParam vRPCConvertParams[] = { "getrawmempool", 0, "verbose" }, { "estimatefee", 0, "nblocks" }, { "estimatesmartfee", 0, "nblocks" }, + { "estimaterawfee", 0, "nblocks" }, + { "estimaterawfee", 1, "threshold" }, + { "estimaterawfee", 2, "horizon" }, { "prioritisetransaction", 1, "fee_delta" }, { "setban", 2, "bantime" }, { "setban", 3, "absolute" }, |