Struct electrum_client::ServerFeaturesRes [−][src]
pub struct ServerFeaturesRes {
pub server_version: String,
pub genesis_hash: [u8; 32],
pub protocol_min: String,
pub protocol_max: String,
pub hash_function: Option<String>,
pub pruning: Option<i64>,
}Expand description
Response to a server_features request.
Fields
server_version: StringServer version reported.
genesis_hash: [u8; 32]Hash of the genesis block.
protocol_min: StringMinimum supported version of the protocol.
protocol_max: StringMaximum supported version of the protocol.
hash_function: Option<String>Hash function used to create the ScriptHash.
pruning: Option<i64>Pruned height of the server.
Trait Implementations
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