rust-bitcoin-unsafe-fast/units/src/amount
Tobin C. Harding b27d8e5819
Change the internal representation of FeeRate
To get more precision use sats per million virtual bytes.

To make review easier keep most calls in tests using
`FeeRate::from_sats_per_kwu` and just unwrap. These can likely be
cleaned up later on if we want to.

For `serde` just change the module to `_floor` and leave it at that. The
serde stuff likely needs re-visiting before release anyways.
2025-05-31 07:52:31 +01:00
..
error.rs 2025-05-25 automated rustfmt nightly 2025-05-25 01:42:57 +00:00
mod.rs Move CheckedSum trait to crate root 2025-05-26 19:01:42 -05:00
result.rs Implement Div<NonZeroU64|I64> for Amount, SignedAmount, FeeRate, and Weight 2025-05-13 20:01:11 +03:00
serde.rs Fix expecting string for amount types 2025-05-14 12:31:16 +10:00
signed.rs Merge rust-bitcoin/rust-bitcoin#4343: units: Go over the rendered docs for the whole crate 2025-04-16 19:10:02 +00:00
tests.rs Change the internal representation of FeeRate 2025-05-31 07:52:31 +01:00
unsigned.rs Merge rust-bitcoin/rust-bitcoin#4343: units: Go over the rendered docs for the whole crate 2025-04-16 19:10:02 +00:00
verification.rs Enforce the MAX_MONEY invariant in amount types 2025-03-13 09:07:14 +11:00