Struct electrum_client::ServerFeaturesRes
source · 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: String
Server version reported.
genesis_hash: [u8; 32]
Hash of the genesis block.
protocol_min: String
Minimum supported version of the protocol.
protocol_max: String
Maximum 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§
source§impl Debug for ServerFeaturesRes
impl Debug for ServerFeaturesRes
source§impl<'de> Deserialize<'de> for ServerFeaturesRes
impl<'de> Deserialize<'de> for ServerFeaturesRes
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