librustzcash/components/zcash_protocol/src
Kris Nuttycombe 1b3433e0dd Add correct `BlockHeight` subtraction & remove panics.
In contrast to the implementation of `Sub<BlockHeight> for BlockHeight`
that was removed in version `0.3.0`, a saturating subtraction for block
heights having a return type of `u32` makes sense for `BlockHeight`.
Subtracting one block height from another yields the delta between them.

Other block height addition and subtraction operations have been made
saturating, removing panics and the possibility of overflow.
2024-08-27 16:44:00 -06:00
..
constants
consensus.rs Add correct `BlockHeight` subtraction & remove panics. 2024-08-27 16:44:00 -06:00
constants.rs
lib.rs
local_consensus.rs Make `nu6` rust feature stable (#1454) 2024-08-06 00:01:03 +01:00
memo.rs Fix clippy lints exposed by the MSRV bump to 1.70.0. 2024-06-12 14:51:29 +01:00
value.rs