bitcoindevkit / bdk

A modern, lightweight, descriptor-based wallet library written in Rust!
Other
815 stars 296 forks source link

feat: use new `NetworkKind` throughout the BDK codebase #1465

Open oleonardolima opened 1 month ago

oleonardolima commented 1 month ago

Describe the enhancement

In the new release of rust-bitcoin 0.32.0 the new NetworkKind type has been introduced, it's not being explicitly used in the PR #1448, but it should be instead of simply using conversions.

Use case

Use the proper rust-bitcoin `NetworkKind` type/API instead of multiple conversions. **Additional context**
oleonardolima commented 1 month ago

dev call: these changes are not a high priority, but could land in future releases.