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 StringcurrentProtocol(proto) The current protocol version.StringnextProtocol(nextproto) The next proposed protocol version.LongnextProtocolApprovals(nextyes) Number of blocks which approved the protocol upgrade.LongnextProtocolSwitchOn(nextswitch) Round on which the protocol upgrade will take effect.LongnextProtocolVoteBefore(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 booleanequals(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).
-
-