rust-bitcoin-unsafe-fast/units/src
Tobin C. Harding 911f8cbd6a
fix: Manually implement serde traits
Currently we are deriving the serde traits for the `absolute::{Height,
Time}` types, this is incorrect because we maintain an invariant on
the inner `u32` of both types that it is above or below the threshold.

Manually implement the serde traits and pass the deserialized `u32` to
`from_consensus` to maintain the invariant.

Close: #2559
2024-03-20 11:33:14 +11:00
..
locktime fix: Manually implement serde traits 2024-03-20 11:33:14 +11:00
amount.rs Enforce displaying Amount with trailing zeros 2024-03-17 17:55:59 +03:00
fee_rate.rs Move unit types to units 2024-03-12 11:59:39 +11:00
lib.rs fix: Manually implement serde traits 2024-03-20 11:33:14 +11:00
parse.rs units: Fix cargo cult programming 2024-03-19 09:59:11 +11:00
test_macros.rs fix: Manually implement serde traits 2024-03-20 11:33:14 +11:00
weight.rs Move unit types to units 2024-03-12 11:59:39 +11:00