Zebra/zebra-chain/src
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
..
block Security: Avoid silently corrupting invalid times during serialization (#2149) 2021-05-17 16:53:10 -04:00
orchard Orchard: disable clippy warnings about comparing a newly created struct (#2117) 2021-05-10 19:16:21 -03:00
parameters Flesh out Orchard note and nullifier derivation 2021-04-30 00:48:23 -04:00
primitives Merge pull request #2099 from ZcashFoundation/redpallas-sig-stub 2021-05-06 10:56:00 -04:00
sapling Revert making sapling::note::Nullifier inner value private 2021-04-30 00:48:23 -04:00
serialization Add a new `zcash_serialize_bytes` utility function (#2150) 2021-05-14 12:23:02 +10:00
sprout correct some docs (#2157) 2021-05-14 16:35:10 -03:00
transaction Security: Avoid silently corrupting invalid times during serialization (#2149) 2021-05-17 16:53:10 -04:00
transparent Enable more Transaction v5 tests (#2063) 2021-04-26 08:32:21 +10:00
work Speedup proptests for Chain struct in zebra-state (#2012) 2021-04-17 21:00:20 +10:00
amount.rs Orchard: tidy commitments etc 2021-04-30 00:48:23 -04:00
block.rs Move LedgerState into the block module 2021-04-23 09:34:13 -04:00
fmt.rs Inbound `FindBlocks` and `FindHeaders` (#1347) 2020-12-01 07:30:37 +10:00
lib.rs Flesh out Orchard note and nullifier derivation 2021-04-30 00:48:23 -04:00
orchard.rs Orchard: remove unused imports, more warn(missing_docs) lint to orchard for now 2021-04-30 00:48:23 -04:00
parameters.rs Add transaction version 5 stubs (#1824) 2021-03-04 07:56:41 +10:00
primitives.rs Add link to redpallas follow-up 2021-04-30 00:48:23 -04:00
sapling.rs Rebase tidies 2021-04-30 00:48:23 -04:00
serialization.rs Redesign Sapling data model for V5 shared anchor and spends (#2021) 2021-04-20 16:22:25 +10:00
shutdown.rs Fix shutdown panics (#1637) 2021-02-03 19:03:28 +10:00
sprout.rs Move the preallocate tests into their own files (#1977) 2021-04-07 12:32:27 +10:00
transaction.rs Parse ConsensusBranchId into NetworkUpgrade for transaction v5 (#2075) 2021-04-29 01:55:29 +00:00
transparent.rs chain: add custom Debug for CoinbaseData 2020-11-21 14:09:15 -05:00
work.rs export proptest impls for use in downstream crates (#1092) 2020-09-23 18:52:52 -07:00