Browse Source

Don't support blockchain.estimatefee() API for now

refactor-mempool
Roman Zeyde 7 years ago
parent
commit
2079f3f635
No known key found for this signature in database GPG Key ID: 87CAE5FA46917CBB
  1. 2
      src/rpc.rs

2
src/rpc.rs

@ -133,7 +133,7 @@ impl<'a> Handler<'a> {
}
fn blockchain_estimatefee(&self, _params: &[Value]) -> Result<Value> {
Ok(json!(1e-5)) // TODO: consult with actual mempool
Ok(json!(-1)) // see mempool_get_fee_histogram() instead.
}
fn blockchain_relayfee(&self) -> Result<Value> {

Loading…
Cancel
Save