Struct BlockUpgradeState
Assembly: cs.temp.dll.dll
Syntax
[AlgoApiObject("", "", 0)]
[Serializable]
public struct BlockUpgradeState : IEquatable<BlockUpgradeState>
Properties
CurrentProtocol
[proto] The current protocol version.
Declaration
[AlgoApiField("current-protocol")]
public string CurrentProtocol { get; set; }
Property Value
NextProtocol
[nextproto] The next proposed protocol version.
Declaration
[AlgoApiField("next-protocol")]
public string NextProtocol { get; set; }
Property Value
NextProtocolApprovals
[nextyes] Number of blocks which approved the protocol upgrade.
Declaration
[AlgoApiField("next-protocol-approvals")]
public Optional<ulong> NextProtocolApprovals { get; set; }
Property Value
NextProtocolSwitchOn
[nextswitch] Round on which the protocol upgrade will take effect.
Declaration
[AlgoApiField("next-protocol-switch-on")]
public Optional<ulong> NextProtocolSwitchOn { get; set; }
Property Value
NextProtocolVoteBefore
[nextbefore] Deadline round for this protocol upgrade (No votes will be consider after this round).
Declaration
[AlgoApiField("next-protocol-vote-before")]
public Optional<ulong> NextProtocolVoteBefore { get; set; }
Property Value
Methods
Equals(BlockUpgradeState)
Declaration
public bool Equals(BlockUpgradeState other)
Parameters
Returns