Struct oasis_core_runtime::config::Config
source · pub struct Config {
pub version: Version,
pub trust_root: Option<TrustRoot>,
pub storage: Storage,
pub features: Option<Features>,
pub persist_check_tx_state: bool,
pub freshness_proofs: bool,
}
Expand description
Global runtime configuration.
Fields§
§version: Version
Semantic runtime version.
trust_root: Option<TrustRoot>
Optional trust root for consensus layer integrity verification.
storage: Storage
Storage configuration.
features: Option<Features>
Advertised runtime features.
persist_check_tx_state: bool
Whether storage state should be persisted between transaction check invocations. The state is invalidated on the next round.
freshness_proofs: bool
Whether TEE freshness is verified with freshness proofs.
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<'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> 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