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

Reapply 3515: add tpu client next to sts #4758

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KirillLykov
Copy link

@KirillLykov KirillLykov commented Feb 3, 2025

Problem

Introduce TpuClientNextClient to the SendTransactionService (STS). So user of can choose which client to use: ConnectionCacheClient or TpuClientNextClient. By default it is ConnectionCacheClient and, hence, it is used in the RPC service. Which means that no changes on the validator behavior.

Both clients implement now NotifyKeyUpdate. This is need for the client to use a new validator identity when a corresponding admin rpc call is sent. Not used as part of these changes, because currently in the validator.rs we use ConnectionCache directly and this notify handling is done there.

This PR partially adds back reverted PR #3515.

Summary of Changes

@KirillLykov KirillLykov force-pushed the klykov/add-tpu-client-next-to-sts-again branch from 3be592a to 96192fd Compare February 5, 2025 19:10
@KirillLykov KirillLykov marked this pull request as ready for review February 5, 2025 19:10
@KirillLykov KirillLykov force-pushed the klykov/add-tpu-client-next-to-sts-again branch from 96192fd to f20cc08 Compare February 5, 2025 19:12
@KirillLykov
Copy link
Author

CI breaks for unrelated reasons, fixed CI problem in this PR: #4809

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant