pub struct Config {Show 17 fields
pub addr: SocketAddr,
pub max_database_cache_size: usize,
pub database_path: PathBuf,
pub database_type: DbType,
pub chain_conf: ChainConfig,
pub utxo_validation: bool,
pub manual_blocks_enabled: bool,
pub block_production: Trigger,
pub vm: VMConfig,
pub txpool: Config,
pub block_producer: Config,
pub block_executor: Config,
pub block_importer: Config,
pub consensus_key: Option<Secret<SecretKeyWrapper>>,
pub name: String,
pub verifier: RelayerVerifierConfig,
pub honeycomb_api_key: Option<String>,
}
Fields§
§addr: SocketAddr
§max_database_cache_size: usize
§database_path: PathBuf
§database_type: DbType
§chain_conf: ChainConfig
§utxo_validation: bool
§manual_blocks_enabled: bool
§block_production: Trigger
§vm: VMConfig
§txpool: Config
§block_producer: Config
§block_executor: Config
§block_importer: Config
§consensus_key: Option<Secret<SecretKeyWrapper>>
§name: String
§verifier: RelayerVerifierConfig
§honeycomb_api_key: Option<String>
Implementations§
source§impl Config
impl Config
pub fn local_node() -> Self
Trait Implementations§
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§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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