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`. |
||
---|---|---|
.. | ||
data | ||
api.rs | ||
serde.rs | ||
str.rs |