[][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_allowlist_cidrs: Vec<String>,
    pub data_dir: PathBuf,
    pub db_type: DatabaseType,
    pub db_config: LMDBConfig,
    pub orphan_storage_capacity: usize,
    pub pruning_horizon: u64,
    pub pruned_mode_cleanup_interval: u64,
    pub core_threads: usize,
    pub blocking_threads: usize,
    pub identity_file: PathBuf,
    pub public_address: Multiaddr,
    pub grpc_enabled: bool,
    pub grpc_address: SocketAddr,
    pub grpc_wallet_address: SocketAddr,
    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,
    pub buffer_size_base_node: usize,
    pub buffer_size_base_node_wallet: usize,
    pub buffer_rate_limit_base_node: usize,
    pub buffer_rate_limit_base_node_wallet: usize,
    pub base_node_query_timeout: Duration,
    pub transaction_broadcast_monitoring_timeout: Duration,
    pub transaction_chain_monitoring_timeout: Duration,
    pub transaction_direct_send_timeout: Duration,
    pub transaction_broadcast_send_timeout: Duration,
    pub prevent_fee_gt_amount: bool,
    pub monerod_url: String,
    pub monerod_username: String,
    pub monerod_password: String,
    pub monerod_use_auth: bool,
    pub proxy_host_address: SocketAddr,
}

Fields

network: Networkcomms_transport: CommsTransportlistnener_liveness_max_sessions: usizelistener_liveness_allowlist_cidrs: Vec<String>data_dir: PathBufdb_type: DatabaseTypedb_config: LMDBConfigorphan_storage_capacity: usizepruning_horizon: u64pruned_mode_cleanup_interval: u64core_threads: usizeblocking_threads: usizeidentity_file: PathBufpublic_address: Multiaddrgrpc_enabled: boolgrpc_address: SocketAddrgrpc_wallet_address: SocketAddrpeer_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: PathBufbuffer_size_base_node: usizebuffer_size_base_node_wallet: usizebuffer_rate_limit_base_node: usizebuffer_rate_limit_base_node_wallet: usizebase_node_query_timeout: Durationtransaction_broadcast_monitoring_timeout: Durationtransaction_chain_monitoring_timeout: Durationtransaction_direct_send_timeout: Durationtransaction_broadcast_send_timeout: Durationprevent_fee_gt_amount: boolmonerod_url: Stringmonerod_username: Stringmonerod_password: Stringmonerod_use_auth: boolproxy_host_address: SocketAddr

Implementations

impl GlobalConfig[src]

Trait Implementations

impl Clone for GlobalConfig[src]

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> CloneAny for T where
    T: Clone + Any

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

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync

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

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

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,