zebra/zebra-chain
teor b600e82d6e
Security: Avoid silently corrupting invalid times during serialization (#2149)
* Security: panic if an internally generated time is out of range

If Zebra has a bug where it generates blocks, transactions, or meta
addresses with bad times, panic. This avoids sending bad data onto the
network.

(Previously, Zebra would truncate some of these times, silently
corrupting the underlying data.)

Make it clear that deserialization of these objects is infalliable.
2021-05-17 16:53:10 -04:00
..
benches Benchmark Block struct serialization code (#2018) 2021-04-19 12:15:02 +00:00
proptest-regressions Remove FromStr impls for orchard keys for now, pending Unifed versions of those 2021-04-30 00:48:23 -04:00
src Security: Avoid silently corrupting invalid times during serialization (#2149) 2021-05-17 16:53:10 -04:00
Cargo.toml build(deps): bump sha2 from 0.9.4 to 0.9.5 (#2147) 2021-05-13 07:58:48 +10:00