Skip to content

Replace bdk FeeRate with rust-bitcoin FeeRate #1136

@notmandatory

Description

@notmandatory

Describe the enhancement

We should be able to replace the bdk FeeRate struct with the FeeRate from rust-bitcoin since they serve the same purpose and it's less confusing to users to have only one version of the type. Any missing functions from the bdk::FeeRate should be upstreamed to rust-bitcoin or moved to a new bdk trait implemented on rust-bitcoin's FeeRate.

Use case

All existing uses for bdk's FeeRate.

Additional context

https://docs.rs/bitcoin/0.30.1/bitcoin/blockdata/fee_rate/struct.FeeRate.html
https://docs.rs/bdk/1.0.0-alpha.1/bdk/struct.FeeRate.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions