solana/core
behzad nouri c2b7115031
indexes crds values associated with a pubkey (#14088)
record_labels returns all the possible labels for a record identified by
a pubkey, used in updating timestamp of crds values:
https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds_value.rs#L560-L577
https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds.rs#L240-L251
The code relies on CrdsValueLabel to be limited to a small deterministic
set of possible values for a fixed pubkey. As we expand crds values to
include duplicate shreds, this limits what the duplicate proofs can be
keyed by in the table.
In addition the computation of these labels is inefficient and will
become more so as duplicate shreds and more types of crds values are
added. An alternative is to maintain an index of all crds values
associated with a pubkey.
2020-12-15 01:49:22 +00:00
..
benches Shred filter (#14030) 2020-12-10 07:54:15 -08:00
src indexes crds values associated with a pubkey (#14088) 2020-12-15 01:49:22 +00:00
tests Clippy 2020-12-14 08:03:29 -08:00
.gitignore
Cargo.toml Remove solana-vote-signer (#14099) 2020-12-13 19:12:20 -08:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00