Class BlockUpgradeState
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.PathResponse
-
- com.algorand.algosdk.v2.client.model.BlockUpgradeState
-
public class BlockUpgradeState extends PathResponse
Fields relating to a protocol upgrade.
-
-
Field Summary
Fields Modifier and Type Field Description String
currentProtocol
(proto) The current protocol version.String
nextProtocol
(nextproto) The next proposed protocol version.Long
nextProtocolApprovals
(nextyes) Number of blocks which approved the protocol upgrade.Long
nextProtocolSwitchOn
(nextswitch) Round on which the protocol upgrade will take effect.Long
nextProtocolVoteBefore
(nextbefore) Deadline round for this protocol upgrade (No votes will be consider after this round).
-
Constructor Summary
Constructors Constructor Description BlockUpgradeState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
-
Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse
toString
-
-
-
-
Field Detail
-
currentProtocol
public String currentProtocol
(proto) The current protocol version.
-
nextProtocol
public String nextProtocol
(nextproto) The next proposed protocol version.
-
nextProtocolApprovals
public Long nextProtocolApprovals
(nextyes) Number of blocks which approved the protocol upgrade.
-
nextProtocolSwitchOn
public Long nextProtocolSwitchOn
(nextswitch) Round on which the protocol upgrade will take effect.
-
nextProtocolVoteBefore
public Long nextProtocolVoteBefore
(nextbefore) Deadline round for this protocol upgrade (No votes will be consider after this round).
-
-