Skip to content

feat: use new Weight type throughout the BDK codebase, instead of usize for weight units #1466

Closed

Description

@oleonardolima

Describe the enhancement

In the new release of rust-bitcoin 0.32.0 the new Weight type has been introduced through bitcoin-units 0.1.1, it's not being explicitly used in the PR #1448, but it should be instead of using .to_wu() as usize conversions.

Use case

Use the proper Weight type/API, instead of the current usize, for referring to weight units.

Additional context

Activity

  1. added
    new feature
    on Jun 6, 2024
  2. moved this to Needs Review in BDK Walleton Jun 7, 2024
  3. added this to the 1.0.0-alpha milestone on Jun 7, 2024
  4. added a commit that references this issue on Jun 13, 2024
  5. moved this from Needs Review to In Progress in BDK Walleton Jun 13, 2024
  6. moved this from In Progress to Needs Review in BDK Walleton Jun 26, 2024
  7. moved this from Needs Review to Done in BDK Walleton Jun 26, 2024
  8. added a commit that references this issue on Jun 27, 2024
    5c7cc30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

new feature

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions