There is no "consensus encoding" for a MTP. The intention for these methods was that a user could interpret the MTP as a locktime and then consensus-encode that locktime. However, it was instead interpreted as the MTP representing a *blocktime* as it is consensus-encoded in a block header. Evidence of this misinterpretation is in several doccomments, which casually refer to the Mtp (which used to be just called Time) as a "block time", which is simply incorrect. |
||
---|---|---|
.. | ||
contrib | ||
src | ||
CHANGELOG.md | ||
Cargo.toml | ||
README.md |
README.md
Rust Bitcoin - primitive types.
This crate provides primitive data types that are used throughout the
rust-bitcoin
ecosystem.
Semver compliance
Functions marked as unstable (e.g. foo__unstable
) are not guaranteed to uphold semver compliance.
They are primarily provided to support rust-bitcoin
.
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.