rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding 9eff2f2f5e
fee_rate: Add public absolute weight convenience functions
Calculating the absolute fee from a fee rate can currently be achieved
by creating a `Weight` object and using
`FeeRate::checked_mul_by_weight`. This is kind of hard to discover, we
can add two public convenience functions that make discovery of the
functionality easier.

Add two functions for calculating the absolute fee by multiplying by
weight units (`Weight`) and virtual bytes (by first converting to weight
units).
2023-08-02 09:10:49 +10:00
..
contrib CI: Pin serde_json for MSRV build 2023-07-12 15:50:18 +10:00
embedded embedded: Document how to clean up linker flags 2023-05-26 14:39:14 +10:00
examples Added examples for sighash computations 2023-06-20 02:07:21 -07:00
src fee_rate: Add public absolute weight convenience functions 2023-08-02 09:10:49 +10:00
tests Use Amount type for TxOut value field 2023-05-04 17:09:08 +02:00
CHANGELOG.md Add changelo entry for removal of FromHex 2023-05-18 14:18:42 +10:00
Cargo.toml internals: Bump version to 0.2.0 2023-07-14 14:31:21 +10:00
build.rs Remove rust_v_1_46 2023-03-23 08:27:10 +11:00