Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter pubkey in gossip duplicateproof ingestion #29879

Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
711e29a
When there are too many pubkeys in one slot, kick the one with lowest
wen-coding Jan 24, 2023
7604b6d
Merge branch 'solana-labs:master' into filter_pubkey_in_gossip_duplic…
wen-coding Jan 24, 2023
bb114ec
Cache last_root to reduce read locks we need.
wen-coding Jan 24, 2023
08a96cb
Merge branch 'filter_pubkey_in_gossip_duplicateproof_ingestion' of gi…
wen-coding Jan 24, 2023
93574f5
Use slots_in_epoch to limit number of slots in the map.
wen-coding Jan 24, 2023
5bb298c
Merge branch 'solana-labs:master' into filter_pubkey_in_gossip_duplic…
wen-coding Jan 25, 2023
04fedee
Fix lint errors.
wen-coding Jan 25, 2023
9f8d12a
Merge branch 'filter_pubkey_in_gossip_duplicateproof_ingestion' of gi…
wen-coding Jan 25, 2023
a1e5079
Only cache stakes and slots number once per epoch.
wen-coding Jan 25, 2023
3539e77
- Reduce number of cleanups, dump 10% of the pubkeys every time map i…
wen-coding Jan 26, 2023
6977a0f
- Stick with the first Gossip proof sent from specific pubkey for a s…
wen-coding Jan 27, 2023
58aa989
- Try to check epoch every time last_root changes
wen-coding Feb 1, 2023
0bda491
Merge branch 'master' into filter_pubkey_in_gossip_duplicateproof_ing…
wen-coding Feb 2, 2023
71ded50
- Change heap to vector and use select_nth_unstable
wen-coding Feb 2, 2023
f51f4aa
Merge branch 'filter_pubkey_in_gossip_duplicateproof_ingestion' of gi…
wen-coding Feb 2, 2023
d3e3a29
Merge branch 'master' into filter_pubkey_in_gossip_duplicateproof_ing…
wen-coding Feb 2, 2023
a026a71
Merge branch 'master' into filter_pubkey_in_gossip_duplicateproof_ing…
wen-coding Feb 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion core/src/tvu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,11 @@ impl Tvu {
let duplicate_shred_listener = DuplicateShredListener::new(
exit.clone(),
cluster_info.clone(),
DuplicateShredHandler::new(blockstore, leader_schedule_cache.clone()),
DuplicateShredHandler::new(
blockstore,
leader_schedule_cache.clone(),
bank_forks.clone(),
),
);

Ok(Tvu {
Expand Down
Loading