Struct solana_rpc::rpc::JsonRpcConfig [−][src]
pub struct JsonRpcConfig {Show 14 fields
pub enable_rpc_transaction_history: bool,
pub enable_cpi_and_log_storage: bool,
pub identity_pubkey: Pubkey,
pub faucet_addr: Option<SocketAddr>,
pub health_check_slot_distance: u64,
pub enable_bigtable_ledger_storage: bool,
pub enable_bigtable_ledger_upload: bool,
pub max_multiple_accounts: Option<usize>,
pub account_indexes: AccountSecondaryIndexes,
pub rpc_threads: usize,
pub rpc_bigtable_timeout: Option<Duration>,
pub minimal_api: bool,
pub obsolete_v1_7_api: bool,
pub rpc_scan_and_fix_roots: bool,
}
Fields
enable_rpc_transaction_history: bool
enable_cpi_and_log_storage: bool
identity_pubkey: Pubkey
faucet_addr: Option<SocketAddr>
health_check_slot_distance: u64
enable_bigtable_ledger_storage: bool
enable_bigtable_ledger_upload: bool
max_multiple_accounts: Option<usize>
account_indexes: AccountSecondaryIndexes
rpc_threads: usize
rpc_bigtable_timeout: Option<Duration>
minimal_api: bool
obsolete_v1_7_api: bool
rpc_scan_and_fix_roots: bool
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for JsonRpcConfig
impl Send for JsonRpcConfig
impl Sync for JsonRpcConfig
impl Unpin for JsonRpcConfig
impl UnwindSafe for JsonRpcConfig
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more