Struct solana_fullnode_config::Config
source · pub struct Config {
pub bind_port_or_address: Option<String>,
pub use_public_address: bool,
pub use_local_address: bool,
pub identity_pkcs8: Vec<u8>,
pub vote_account_pkcs8: Vec<u8>,
}
Fields§
§bind_port_or_address: Option<String>
Bind to port or address
use_public_address: bool
Detect public network address using public servers
use_local_address: bool
Detect network address from local machine configuration
identity_pkcs8: Vec<u8>
Fullnode identity
vote_account_pkcs8: Vec<u8>
Fullnode vote account
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more