We have an `_unchecked` amount constructor that makes no assumptions about the argument. We would like to start enforcing MAX_MONEY but the diff to introduce this is massive. In an effort to make it smaller we can do all the hardcoded ints first. We did this already but a bunch more snuck in or were missed. In any amount constructor that passes in a hardcoded const as a decimal integer (i.e., not hex) use the `_unchecked` version. Done in preparation for enforcing MAX_MONEY. |
||
---|---|---|
.. | ||
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.