pub struct Config {Show 14 fields
pub secret_file: Option<PathBuf>,
pub storage: Option<PathBuf>,
pub log: Option<ConfigLogSettings>,
pub mempool: Mempool,
pub leadership: Leadership,
pub rest: Option<Rest>,
pub jrpc: Option<JRpc>,
pub p2p: P2pConfig,
pub http_fetch_block0_service: Vec<String>,
pub prometheus: Option<Prometheus>,
pub no_blockchain_updates_warning_interval: Option<Duration>,
pub bootstrap_from_trusted_peers: bool,
pub skip_bootstrap: bool,
pub block_hard_deadline: Option<u32>,
}
Fields§
§secret_file: Option<PathBuf>
§storage: Option<PathBuf>
§log: Option<ConfigLogSettings>
§mempool: Mempool
setting of the mempool, fragment logs and related data
leadership: Leadership
§rest: Option<Rest>
§jrpc: Option<JRpc>
§p2p: P2pConfig
§http_fetch_block0_service: Vec<String>
§prometheus: Option<Prometheus>
§no_blockchain_updates_warning_interval: Option<Duration>
the time interval with no blockchain updates after which alerts are thrown
bootstrap_from_trusted_peers: bool
§skip_bootstrap: bool
§block_hard_deadline: Option<u32>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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
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