switch to solana-tpu-client
from solana_client::tpu_client
for bench-tps
, dos/
, LocalCluster
, gossip/
#301
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A Followup PR to: #258. A setup the remove of
ThinClient
fromLocalCluster
. Removes dependency onsolana_client::tpu_client
and switches over tosolana-tpu-client
.Requires PR: #258 to be merged first.
Problem
Building a
TpuClient
with a quic cache for tests can be cumbersome. Requires a decent amount of duplicate code.Summary of Changes
This is the 9th PR on the way to remove
ThinClient
completely.See
bench-tps
client totpu-client
solana-labs/solana#35335ThinClient
and removeThinClient
frombench-tps
solana-labs/solana#35365get_client
andget_multi_client
#177get_client
andget_multi_client
#184ThinClient
fromdos/
#117ThinClient
frombench-tps
#132gossip_service::get_client()
#227TpuClient
forLocalCluster
tests #258