Name the type exactly what it is. This used to be `Time`, then we tried `MtpInterval`. Note that this makes some of the original function names overly verbose e.g., `NumberOf512seconds::from_512_second_intervals()` but given the curlyness of locktimes too verbose is better than too terse. Also this type, along with `NumberOfBlocks` is not going to be in very wide use so the ergonomic hit is worth the additional clarity. |
||
---|---|---|
.. | ||
contrib | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml | ||
README.md |
README.md
Bitcoin Units
This crate provides basic Bitcoin numeric units such as Amount
.
Minimum Supported Rust Version (MSRV)
This library should always compile with any combination of features on Rust 1.63.0.
Licensing
The code in this project is licensed under the Creative Commons CC0 1.0 Universal license. We use the SPDX license list and SPDX IDs.