solana/gossip
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
..
benches implements generic lookups into gossip crds table (#18765) 2021-07-21 12:16:26 +00:00
src implements generic lookups into gossip crds table (#18765) 2021-07-21 12:16:26 +00:00
tests implements generic lookups into gossip crds table (#18765) 2021-07-21 12:16:26 +00:00
.gitignore tmp dirs target to farf (#5079) 2019-07-12 18:28:42 -07:00
Cargo.toml Move entry/poh to own crate to speed up poh bench build (#18225) 2021-07-14 14:16:29 +02:00
build.rs Move gossip modules into solana-gossip crate (#17352) 2021-05-26 09:15:46 -06:00