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
    java.lang.String currentProtocol
    (proto) The current protocol version.
    java.lang.String nextProtocol
    (nextproto) The next proposed protocol version.
    java.lang.Long nextProtocolApprovals
    (nextyes) Number of blocks which approved the protocol upgrade.
    java.lang.Long nextProtocolSwitchOn
    (nextswitch) Round on which the protocol upgrade will take effect.
    java.lang.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

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  

    Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse

    toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • currentProtocol

      public java.lang.String currentProtocol
      (proto) The current protocol version.
    • nextProtocol

      public java.lang.String nextProtocol
      (nextproto) The next proposed protocol version.
    • nextProtocolApprovals

      public java.lang.Long nextProtocolApprovals
      (nextyes) Number of blocks which approved the protocol upgrade.
    • nextProtocolSwitchOn

      public java.lang.Long nextProtocolSwitchOn
      (nextswitch) Round on which the protocol upgrade will take effect.
    • nextProtocolVoteBefore

      public java.lang.Long nextProtocolVoteBefore
      (nextbefore) Deadline round for this protocol upgrade (No votes will be consider after this round).
  • Constructor Details

    • BlockUpgradeState

      public BlockUpgradeState()
  • Method Details

    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object