Trait Configuration

Source
pub trait Configuration: Debug {
    // Required methods
    fn get_server_configs(&self) -> Option<&Server>;
    fn get_peer_configs(&self) -> &Vec<PeerConfig>;
    fn get_blockchain_configs(&self) -> &BlockchainConfig;
    fn get_block_fetch_url(&self) -> String;
    fn is_spv_mode(&self) -> bool;
    fn is_browser(&self) -> bool;
    fn replace(&mut self, config: &dyn Configuration);
    fn get_consensus_config(&self) -> Option<&ConsensusConfig>;
}

Required Methods§

Implementors§