[−][src]Struct tendermint_light_node::config::LightNodeConfig
LightNode Configuration
Fields
trust_threshold: TrustThresholdThe fraction of the total voting power of a known and trusted validator set is sufficient for a commit to be accepted going forward.
trusting_period: DurationThe duration until we consider a trusted state as expired.
clock_drift: DurationCorrection parameter dealing with only approximately synchronized clocks.
rpc_config: RpcConfigRPC related config parameters.
light_clients: Vec<LightClientConfig>The actual light client instances' configuration.
Note: the first config will be used in the subjectively initialize
the light node in the initialize subcommand.
Trait Implementations
impl Clone for LightNodeConfig[src]
fn clone(&self) -> LightNodeConfig[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Configurable<LightNodeConfig> for LightNodeCmd[src]
This trait allows you to define how application configuration is loaded.
fn config_path(&self) -> Option<PathBuf>[src]
Location of the configuration file
fn process_config(
&self,
config: LightNodeConfig
) -> Result<LightNodeConfig, FrameworkError>[src]
&self,
config: LightNodeConfig
) -> Result<LightNodeConfig, FrameworkError>
Apply changes to the config after it's been loaded, e.g. overriding values in a config file using command-line options.
This can be safely deleted if you don't want to override config settings from command-line options.
impl Debug for LightNodeConfig[src]
impl Default for LightNodeConfig[src]
Default configuration settings.
impl<'de> Deserialize<'de> for LightNodeConfig[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl From<LightNodeConfig> for Options[src]
fn from(lnc: LightNodeConfig) -> Self[src]
impl Serialize for LightNodeConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for LightNodeConfig
impl Send for LightNodeConfig
impl Sync for LightNodeConfig
impl Unpin for LightNodeConfig
impl UnwindSafe for LightNodeConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any, [src]
T: Any,
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<C> Config for C where
C: Debug + Default + DeserializeOwned, [src]
C: Debug + Default + DeserializeOwned,
fn load_toml(toml_string: impl AsRef<str>) -> Result<C, FrameworkError>[src]
fn load_toml_file(path: impl AsRef<CanonicalPath>) -> Result<C, FrameworkError>[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> Erased for T
impl<T> From<T> for T[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,