rust-bitcoin-unsafe-fast/units/tests
Tobin C. Harding b3f122b399
Add Timestamp newtype
Bitcoin block headers have a timestamp. Currently we are using a
`u32`. while this functions correctly it gives the compiler no chance
to enforce type safety.

Add a `Timestamp` newtype that is a thin wrapper around a `u32`.
Document it and test the API surface in `api.rs`.
2025-02-25 10:03:28 +11:00
..
data units: Add serde regression test 2024-12-28 08:15:13 +11:00
api.rs Add Timestamp newtype 2025-02-25 10:03:28 +11:00
serde.rs units: Add serde regression test 2024-12-28 08:15:13 +11:00
str.rs units: Add stringy regression tests 2024-11-27 13:35:45 +11:00