Struct mithril_aggregator::DefaultConfiguration
source · pub struct DefaultConfiguration {Show 24 fields
pub environment: ExecutionEnvironment,
pub server_ip: String,
pub server_port: String,
pub db_directory: String,
pub snapshot_directory: String,
pub snapshot_store_type: String,
pub snapshot_uploader_type: String,
pub era_reader_adapter_type: String,
pub chain_observer_type: String,
pub reset_digests_cache: String,
pub disable_digests_cache: String,
pub snapshot_compression_algorithm: String,
pub snapshot_use_cdn_domain: String,
pub signer_importer_run_interval: u64,
pub allow_unparsable_block: String,
pub cardano_transactions_prover_cache_pool_size: u32,
pub cardano_transactions_database_connection_pool_size: u32,
pub cardano_transactions_signing_config: CardanoTransactionsSigningConfig,
pub cardano_transactions_prover_max_hashes_allowed_by_request: u32,
pub cardano_transactions_block_streamer_max_roll_forwards_per_poll: u32,
pub enable_metrics_server: String,
pub metrics_server_ip: String,
pub metrics_server_port: u16,
pub persist_usage_report_interval_in_seconds: u64,
}
Expand description
Default configuration with all the default values for configurations.
Fields§
§environment: ExecutionEnvironment
Execution environment
server_ip: String
Server listening IP
server_port: String
Server listening port
db_directory: String
Directory of the Cardano node database
snapshot_directory: String
Directory to store snapshot
snapshot_store_type: String
Type of snapshot store to use
snapshot_uploader_type: String
Type of snapshot uploader to use
era_reader_adapter_type: String
Era reader adapter type
chain_observer_type: String
Chain observer type
reset_digests_cache: String
ImmutableDigesterCacheProvider default setting
disable_digests_cache: String
ImmutableDigesterCacheProvider default setting
snapshot_compression_algorithm: String
Snapshot compression algorithm default setting
snapshot_use_cdn_domain: String
Use CDN domain to construct snapshot urls default setting (if snapshot_uploader_type is Gcp)
signer_importer_run_interval: u64
Signer importer run interval default setting
allow_unparsable_block: String
If set no error is returned in case of unparsable block and an error log is written instead.
Will be ignored on (pre)production networks.
cardano_transactions_prover_cache_pool_size: u32
Cardano transactions prover cache pool size
cardano_transactions_database_connection_pool_size: u32
Cardano transactions database connection pool size
cardano_transactions_signing_config: CardanoTransactionsSigningConfig
Cardano transactions signing configuration
cardano_transactions_prover_max_hashes_allowed_by_request: u32
Maximum number of transactions hashes allowed by request to the prover of the Cardano transactions
cardano_transactions_block_streamer_max_roll_forwards_per_poll: u32
The maximum number of roll forwards during a poll of the block streamer when importing transactions.
enable_metrics_server: String
Enable metrics server (Prometheus endpoint on /metrics).
metrics_server_ip: String
Metrics HTTP server IP.
metrics_server_port: u16
Metrics HTTP server listening port.
persist_usage_report_interval_in_seconds: u64
Time interval at which metrics are persisted in event database (in seconds).
Trait Implementations§
source§impl Clone for DefaultConfiguration
impl Clone for DefaultConfiguration
source§fn clone(&self) -> DefaultConfiguration
fn clone(&self) -> DefaultConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DefaultConfiguration
impl Debug for DefaultConfiguration
source§impl Default for DefaultConfiguration
impl Default for DefaultConfiguration
source§impl Source for DefaultConfiguration
impl Source for DefaultConfiguration
fn clone_into_box(&self) -> Box<dyn Source + Send + Sync>
source§fn collect(&self) -> Result<Map<String, Value>, ConfigError>
fn collect(&self) -> Result<Map<String, Value>, ConfigError>
§fn collect_to(&self, cache: &mut Value) -> Result<(), ConfigError>
fn collect_to(&self, cache: &mut Value) -> Result<(), ConfigError>
Auto Trait Implementations§
impl Freeze for DefaultConfiguration
impl RefUnwindSafe for DefaultConfiguration
impl Send for DefaultConfiguration
impl Sync for DefaultConfiguration
impl Unpin for DefaultConfiguration
impl UnwindSafe for DefaultConfiguration
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
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more