Package org.bitcoindevkit
Class ServerFeaturesRes
-
- All Implemented Interfaces:
public final class ServerFeaturesResResponse to an ElectrumClient.server_features request.
-
-
Field Summary
Fields Modifier and Type Field Description private StringserverVersionprivate StringgenesisHashprivate StringprotocolMinprivate StringprotocolMaxprivate StringhashFunctionprivate Longpruning
-
Method Summary
Modifier and Type Method Description final StringgetServerVersion()Server version reported. final UnitsetServerVersion(String serverVersion)Server version reported. final StringgetGenesisHash()Hash of the genesis block. final UnitsetGenesisHash(String genesisHash)Hash of the genesis block. final StringgetProtocolMin()Minimum supported version of the protocol. final UnitsetProtocolMin(String protocolMin)Minimum supported version of the protocol. final StringgetProtocolMax()Maximum supported version of the protocol. final UnitsetProtocolMax(String protocolMax)Maximum supported version of the protocol. final StringgetHashFunction()Hash function used to create the ScriptHash.final UnitsetHashFunction(String hashFunction)Hash function used to create the ScriptHash.final LonggetPruning()Pruned height of the server. final UnitsetPruning(Long pruning)Pruned height of the server. -
-
Method Detail
-
getServerVersion
final String getServerVersion()
Server version reported.
-
setServerVersion
final Unit setServerVersion(String serverVersion)
Server version reported.
-
getGenesisHash
final String getGenesisHash()
Hash of the genesis block.
-
setGenesisHash
final Unit setGenesisHash(String genesisHash)
Hash of the genesis block.
-
getProtocolMin
final String getProtocolMin()
Minimum supported version of the protocol.
-
setProtocolMin
final Unit setProtocolMin(String protocolMin)
Minimum supported version of the protocol.
-
getProtocolMax
final String getProtocolMax()
Maximum supported version of the protocol.
-
setProtocolMax
final Unit setProtocolMax(String protocolMax)
Maximum supported version of the protocol.
-
getHashFunction
final String getHashFunction()
Hash function used to create the
ScriptHash.
-
setHashFunction
final Unit setHashFunction(String hashFunction)
Hash function used to create the
ScriptHash.
-
getPruning
final Long getPruning()
Pruned height of the server.
-
setPruning
final Unit setPruning(Long pruning)
Pruned height of the server.
-
-
-
-