rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding 24984f095f Make block::Version inner value private
The Bitcoin block version is a signed integer for historical reasons,
but we bit twiddle it like an unsigned integer and during consensus
encode/decode we cast the signed value to an unsigned value.

In order to hide this confusion, make the inner value private and add a
couple of constants for v1 and v2 block versions.
2022-11-06 06:54:12 +11:00
..
contrib Merge rust-bitcoin/rust-bitcoin#999: examples: Add taproot PSBT example workflow 2022-10-25 16:47:18 +00:00
examples Promote rust-miniscript finalizer 2022-10-27 10:40:45 -04:00
src Make block::Version inner value private 2022-11-06 06:54:12 +11:00
tests Add a test parsing transaction with a huge witness 2022-11-01 14:27:38 +01:00
Cargo.toml Merge rust-bitcoin/rust-bitcoin#1344: Fix `no_std` when `bitcoinconsensus` is enabled 2022-11-05 13:42:50 +00:00