We just added to now types that are thin wrappers around `u32`s for block heights and intervals. Add `Encodable` and `Decodable` impls and use the new types. While we are at it re-export the types from the crate root so users don't have to dig into the `units` crate. |
||
---|---|---|
.. | ||
encode.rs | ||
mod.rs | ||
params.rs | ||
serde.rs | ||
validation.rs |