24984f095f
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. |
||
---|---|---|
.. | ||
contrib | ||
examples | ||
src | ||
tests | ||
Cargo.toml |