-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
StorageStage now sends transactions at the local TPU #3195
Conversation
exit: &Arc<AtomicBool>, | ||
keypair: &Arc<Keypair>, | ||
account_to_create: Option<Pubkey>, | ||
) -> io::Result<()> { | ||
if let Some(leader_info) = cluster_info.read().unwrap().leader_data() { | ||
let mut client = mk_client_with_timeout(leader_info, Duration::from_secs(5)); | ||
let node_info = cluster_info.read().unwrap().my_data(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/leader_data/my_data/
on this line is really the only functional change in this PR.
The rest of the patch is just code shifting around and my desire to purge the codebase of "tx" (like does this mean "transaction" or "transmit"...we use "tx" for both!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thanks!
Codecov Report
@@ Coverage Diff @@
## master #3195 +/- ##
========================================
+ Coverage 81.1% 81.2% +<.1%
========================================
Files 129 129
Lines 19614 19614
========================================
+ Hits 15918 15934 +16
+ Misses 3696 3680 -16 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #3195 +/- ##
========================================
+ Coverage 81.1% 81.2% +<.1%
========================================
Files 129 129
Lines 19614 19614
========================================
+ Hits 15918 15934 +16
+ Misses 3696 3680 -16 |
…t of solana-labs#3194) (solana-labs#3195) rolls back chained Merkle shreds for testnet downgrade (solana-labs#3194) (cherry picked from commit 69916f1) Co-authored-by: behzad nouri <[email protected]>
The local TPU will forward the transactions as needed if it's not currently the leader.
This reduces the complexity of:
cc: #3193