[][src]Struct tari_common::configuration::global::GlobalConfig

pub struct GlobalConfig {
    pub network: Network,
    pub comms_transport: CommsTransport,
    pub listnener_liveness_max_sessions: usize,
    pub listener_liveness_whitelist_cidrs: Vec<String>,
    pub data_dir: PathBuf,
    pub db_type: DatabaseType,
    pub core_threads: usize,
    pub blocking_threads: usize,
    pub identity_file: PathBuf,
    pub public_address: Multiaddr,
    pub peer_seeds: Vec<String>,
    pub peer_db_path: PathBuf,
    pub block_sync_strategy: String,
    pub enable_mining: bool,
    pub num_mining_threads: usize,
    pub tor_identity_file: PathBuf,
    pub wallet_db_file: PathBuf,
    pub wallet_identity_file: PathBuf,
    pub wallet_tor_identity_file: PathBuf,
    pub wallet_peer_db_path: PathBuf,
}

Fields

network: Networkcomms_transport: CommsTransportlistnener_liveness_max_sessions: usizelistener_liveness_whitelist_cidrs: Vec<String>data_dir: PathBufdb_type: DatabaseTypecore_threads: usizeblocking_threads: usizeidentity_file: PathBufpublic_address: Multiaddrpeer_seeds: Vec<String>peer_db_path: PathBufblock_sync_strategy: Stringenable_mining: boolnum_mining_threads: usizetor_identity_file: PathBufwallet_db_file: PathBufwallet_identity_file: PathBufwallet_tor_identity_file: PathBufwallet_peer_db_path: PathBuf

Methods

impl GlobalConfig[src]

Trait Implementations

impl Debug for GlobalConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,