pub struct ReplicaNodeConfig {Show 17 fields
pub rpc_peer_addr: SocketAddr,
pub accountsdb_repl_peer_addr: Option<SocketAddr>,
pub rpc_addr: SocketAddr,
pub rpc_pubsub_addr: SocketAddr,
pub ledger_path: PathBuf,
pub snapshot_archives_dir: PathBuf,
pub bank_snapshots_dir: PathBuf,
pub account_paths: Vec<PathBuf>,
pub snapshot_info: (Slot, Hash),
pub cluster_info: Arc<ClusterInfo>,
pub rpc_config: JsonRpcConfig,
pub snapshot_config: Option<SnapshotConfig>,
pub pubsub_config: PubSubConfig,
pub account_indexes: AccountSecondaryIndexes,
pub accounts_db_caching_enabled: bool,
pub replica_exit: Arc<RwLock<Exit>>,
pub socket_addr_space: SocketAddrSpace,
}Fields§
§rpc_peer_addr: SocketAddr§accountsdb_repl_peer_addr: Option<SocketAddr>§rpc_addr: SocketAddr§rpc_pubsub_addr: SocketAddr§ledger_path: PathBuf§snapshot_archives_dir: PathBuf§bank_snapshots_dir: PathBuf§account_paths: Vec<PathBuf>§snapshot_info: (Slot, Hash)§cluster_info: Arc<ClusterInfo>§rpc_config: JsonRpcConfig§snapshot_config: Option<SnapshotConfig>§pubsub_config: PubSubConfig§account_indexes: AccountSecondaryIndexes§accounts_db_caching_enabled: bool§replica_exit: Arc<RwLock<Exit>>§socket_addr_space: SocketAddrSpaceAuto Trait Implementations§
impl RefUnwindSafe for ReplicaNodeConfig
impl Send for ReplicaNodeConfig
impl Sync for ReplicaNodeConfig
impl Unpin for ReplicaNodeConfig
impl UnwindSafe for ReplicaNodeConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request