Amount add and sub now enforce the MAX_MONEY invariant when doing addition and subtraction. We need to tell kani to assume we don't overflow before doing actual tests. Note also that `ops::Add` calls through to `checked_add` and `ops::Sub` calls through to `checked_sub` so separate kani tests for these are unnecessary. |
||
---|---|---|
.. | ||
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.