Mark the from_consensus and to_consensus methods of the absolute lock time structs as const. In theory. these methods do some sanity checking and wrap a u32 value in a newtype. This should be possible to do in const. Marking the methods as const should not break existing call sites. |
||
---|---|---|
.. | ||
contrib | ||
src | ||
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.