You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add optional EstimationMode parameter to estimate_fee
Add support for the optional `mode` argument to `blockchain.estimatefee`
which was added in protocol v1.6. The mode is passed to bitcoind's
`estimatesmartfee` RPC as the `estimate_mode` parameter.
- Add `EstimationMode` enum with `Conservative` and `Economical` variants
- Update `estimate_fee` to take `Option<EstimationMode>` as second parameter
- Update `Batch::estimate_fee` to support the mode parameter
- `batch_estimate_fee` currently always uses `None` for mode
This is a breaking change as the `estimate_fee` signature has changed.
Co-Authored-By: Claude Code AI
0 commit comments