Logo
Explore Help
Sign In
gaspersic/solana
1
0
Fork 0
You've already forked solana
Code Issues Pull Requests Projects Releases Wiki Activity
solana/client/src/generic_rpc_client_request.rs

11 lines
277 B
Rust
Raw Normal View History

Use rooted bank by default in rpc bank selection (#6759) * Name anonymous parameters for clarity * Add CommitmentConfig to select bank for rpc * Add commitment information to jsonrpc docs * Update send_and_confirm retries as per commitment defaults * Pass CommitmentConfig into client requests; also various 'use' cleanup * Use _with_commitment methods to speed local_cluster tests * Pass CommitmentConfig into Archiver in order to enable quick confirmations in local_cluster tests * Restore solana ping speed * Increase wallet-sanity timeout to account for longer confirmation time
2019-11-06 14:15:00 -07:00
use crate::{client_error::ClientError, rpc_request::RpcRequest};
Factor RPC request mechanism out of RpcClient into *RpcClientRequest
2019-03-16 21:51:41 -07:00
pub(crate) trait GenericRpcClientRequest {
fn send(
&self,
request: &RpcRequest,
Add support for multiple params
2019-12-18 22:26:11 -07:00
params: serde_json::Value,
Factor RPC request mechanism out of RpcClient into *RpcClientRequest
2019-03-16 21:51:41 -07:00
retries: usize,
Custom error decoder (#3783) automerge
2019-04-25 11:29:44 -06:00
) -> Result<serde_json::Value, ClientError>;
Factor RPC request mechanism out of RpcClient into *RpcClientRequest
2019-03-16 21:51:41 -07:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 189ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API