Skip to content

Give SigVerify and ShredFetch threads unique names#98

Merged
steviez merged 2 commits intoanza-xyz:masterfrom
steviez:sfs_thread_names
Mar 6, 2024
Merged

Give SigVerify and ShredFetch threads unique names#98
steviez merged 2 commits intoanza-xyz:masterfrom
steviez:sfs_thread_names

Conversation

@steviez
Copy link
Copy Markdown

@steviez steviez commented Mar 5, 2024

Problem

See #34 for context

Summary of Changes

  • solTvuFetchPmod ==> solTvuPktMod + solTvuRepPktMod
  • solSigVerifier ==> solSigVerTpu + solSigVerTpuVot

@steviez steviez changed the title Uniquify more thread names Give SigVerify and ShredFetch threads unique names Mar 5, 2024
@steviez steviez force-pushed the sfs_thread_names branch from 7d41d82 to 4758844 Compare March 5, 2024 23:55
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.8%. Comparing base (ce34f3f) to head (4758844).

Additional details and impacted files
@@            Coverage Diff            @@
##           master      #98     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%     
=========================================
  Files         838      838             
  Lines      225941   225940      -1     
=========================================
- Hits       184945   184884     -61     
- Misses      40996    41056     +60     

@steviez steviez requested a review from bw-solana March 6, 2024 02:30
Copy link
Copy Markdown

@bw-solana bw-solana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

.unwrap()
}

fn verifier_services<T: SigVerifier + 'static + Send>(
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this exist?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question - my guess is this used to contain multiple thread handles but got refactored to only include the single thread that it currently does

@steviez steviez marked this pull request as ready for review March 6, 2024 04:00
@steviez steviez merged commit 1110fc9 into anza-xyz:master Mar 6, 2024
@steviez steviez deleted the sfs_thread_names branch March 6, 2024 04:02
codebender828 pushed a commit to codebender828/agave that referenced this pull request Oct 3, 2024
- solTvuFetchPmod ==> solTvuPktMod + solTvuRepPktMod
- solSigVerifier ==> solSigVerTpu + solSigVerTpuVot
OliverNChalk pushed a commit to OliverNChalk/agave that referenced this pull request Nov 11, 2025
Allow selection of the active attack via RPC.

Also, ignore write program test in local cluster for now.

Refactored by: Illia Bobyr <illia.bobyr@anza.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants