update changelog and remove deprecated label on `gossip_service::get_client()` (#227)

update changelog and remove deprecated label on get_client
This commit is contained in:
Greg Cusack 2024-03-13 13:26:54 -07:00 committed by GHA: Update Upstream From Fork
parent d3c0adf1c4
commit 82fefb7de7
2 changed files with 2 additions and 2 deletions

View File

@ -37,6 +37,7 @@ Release channels have their own copy of this changelog:
* New program deployments default to the exact size of a program, instead of
double the size. Program accounts must be extended with `solana program extend`
before an upgrade if they need to accommodate larger programs.
* Interface for `gossip_service::get_client()` has changed. `gossip_service::get_multi_client()` has been removed.
* Upgrade Notes
* `solana-program` and `solana-sdk` default to support for Borsh v1, with
limited backward compatibility for v0.10 and v0.9. Please upgrade to Borsh v1.

View File

@ -197,8 +197,7 @@ pub fn discover(
))
}
/// Creates a ThinClient by selecting a valid node at random
#[deprecated(since = "1.18.6", note = "Interface will change")]
/// Creates a TpuClient by selecting a valid node at random
pub fn get_client(
nodes: &[ContactInfo],
connection_cache: Arc<ConnectionCache>,