In CrdsGossipPush::new_push_messages: https://github.com/solana-labs/solana/blob/972619edb/core/src/crds_gossip_push.rs#L211-L228 we already have paid the cost of looking-up the label in crds table and checking the hash value and wallclock only to find out that in some cases the value is invalid or is outdated. So might as well remove the value here rather than wait for the next call to purge_old_pending_push_messages: https://github.com/solana-labs/solana/blob/972619edb/core/src/crds_gossip_push.rs#L372 |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
build.rs |