solana/gossip/benches
behzad nouri bbd22f06f4
implements generic lookups into gossip crds table (#18765)
This commit adds CrdsEntry trait which allows generic lookups into crds
table. For example to get ContactInfo or LowestSlot associated with a
Pubkey, the lookup code would be respectively:
   crds.get::<&ContactInfo>(pubkey)
   crds.get::<&LowestSlot>(pubkey)
2021-07-21 12:16:26 +00:00
..
crds.rs Move gossip modules into solana-gossip crate (#17352) 2021-05-26 09:15:46 -06:00
crds_gossip_pull.rs makes CrdsGossip thread-safe (#18615) 2021-07-14 22:27:17 +00:00
crds_shards.rs implements generic lookups into gossip crds table (#18765) 2021-07-21 12:16:26 +00:00
weighted_shuffle.rs implements an unbiased weighted shuffle using binary indexed tree (#18343) 2021-07-07 14:14:43 +00:00