Zebra/zebra-chain/src/serialization
Alfredo Garcia f1718f5c92
Add `zcash_serialized_size()` to `ZcashSerialize` trait (#2824)
* add a zcash_serialized_size()

* add a size field to `UnminedTx`

* refactor zcash_serialized_size() to don't allocate RAM

* improve performance

Co-authored-by: teor <teor@riseup.net>

* clippy

Co-authored-by: teor <teor@riseup.net>
2021-10-06 22:40:11 +00:00
..
tests Add `zcash_serialized_size()` to `ZcashSerialize` trait (#2824) 2021-10-06 22:40:11 +00:00
arbitrary.rs Security: Use canonical SocketAddrs to avoid duplicate peer connections, Feature: Send local listener to peers (#2276) 2021-06-22 02:16:59 +00:00
constraint.rs Reject conflicting mempool transactions (#2765) 2021-09-28 01:03:08 +00:00
date_time.rs Security: Zebra should stop gossiping unreachable addresses to other nodes, Action: re-deploy all nodes (#2392) 2021-06-29 05:12:27 +00:00
error.rs Implement a WtxId struct, and use it in Zebra's external network protocol (#2618) 2021-08-16 21:26:08 +00:00
read_zcash.rs Security: Use canonical SocketAddrs to avoid duplicate peer connections, Feature: Send local listener to peers (#2276) 2021-06-22 02:16:59 +00:00
serde_helpers.rs Rebase tidies 2021-04-30 00:48:23 -04:00
sha256d.rs Call `zebra_test::init` where needed. (#1227) 2020-11-10 10:29:25 +10:00
tests.rs Orchard data in V5 parsing (#2116) 2021-05-21 00:42:06 +00:00
write_zcash.rs Security: reject compact sizes greater than the protocol message limit (#2155) 2021-05-17 18:23:06 -04:00
zcash_deserialize.rs Redesign Sapling data model for V5 shared anchor and spends (#2021) 2021-04-20 16:22:25 +10:00
zcash_serialize.rs Add `zcash_serialized_size()` to `ZcashSerialize` trait (#2824) 2021-10-06 22:40:11 +00:00