zebra/zebra-chain/src/serialization
teor 4d608d3224
Stop doing thousands of time checks each time we connect to a peer (#3106)
* Stop checking the entire AddressBook for each connection attempt

* Stop redundant peer time checks within the address book

* Stop calling `Instant::now` 3 times for each address book update

* Only get the time once each time an address book method is called

* Update outdated comment

* Use an OrderedMap to efficiently store address book peers

* Add address book order tests
2021-12-03 15:09:43 -03:00
..
tests Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
arbitrary.rs Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
compact_size.rs Create CompactSize64 for non-message-length fields (#3008) 2021-11-04 15:57:30 +00:00
constraint.rs Reject conflicting mempool transactions (#2765) 2021-09-28 01:03:08 +00:00
date_time.rs Stop doing thousands of time checks each time we connect to a peer (#3106) 2021-12-03 15:09:43 -03:00
error.rs Create CompactSize64 for non-message-length fields (#3008) 2021-11-04 15:57:30 +00:00
read_zcash.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10: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 Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
write_zcash.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10:00
zcash_deserialize.rs Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
zcash_serialize.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10:00