solana/core/benches
behzad nouri 9d112cf41f
encapsulates purged values bookkeeping into crds module (#17265)
For all code paths (gossip push, pull, purge, etc) that remove or
override a crds value, it is necessary to record hash of values purged
from crds table, in order to exclude them from subsequent pull-requests;
otherwise the next pull request will likely return outdated values,
wasting bandwidth:
https://github.com/solana-labs/solana/blob/ed51cde37/core/src/crds_gossip_pull.rs#L486-L491

Currently this is done all over the place in multiple modules, and this
has caused bugs in the past where purged values were not recorded.

This commit encapsulated this bookkeeping into crds module, so that any
code path which removes or overrides a crds value, also records the hash
of purged value in-place.
2021-05-24 13:47:21 +00:00
..
banking_stage.rs Merge pull request from GHSA-8v47-8c53-wwrc 2021-04-13 00:28:08 -06:00
blockstore.rs Re-allow clippy::integer_arithmetic at crate-level 2021-02-17 13:55:08 -07:00
cluster_info.rs removes redundant epoch stakes cache in retransmit (#14781) 2021-01-24 21:15:09 +00:00
consensus.rs
crds.rs indexes nodes' contact infos in crds table (#13553) 2020-11-15 16:38:04 +00:00
crds_gossip_pull.rs encapsulates purged values bookkeeping into crds module (#17265) 2021-05-24 13:47:21 +00:00
crds_shards.rs encapsulates purged values bookkeeping into crds module (#17265) 2021-05-24 13:47:21 +00:00
gen_keys.rs
poh.rs PoH batch size calibration (#15717) 2021-03-05 16:01:21 -08:00
poh_verify.rs
retransmit_stage.rs Create solana-rpc crate and move subscriptions (#17320) 2021-05-19 00:54:28 -06:00
shredder.rs removes first_coding_index from erasure recovery code (#16646) 2021-04-23 12:00:37 +00:00
sigverify_stage.rs