As we did for `SignedAmount` add a constructor to the `Amount` type that does no checks on its argument. (This is in preparation for enforcing the MAX_MONEY invariant.) Use the `_unchecked` version in a single unit test. The rest of the unit tests will be refactored later to minimise the size of this patch. |
||
---|---|---|
.. | ||
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.