Search Results for

    Show / Hide Table of Contents

    Struct BlockUpgradeState

    Namespace: Algorand.Unity.Indexer
    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
    Type Description
    String

    NextProtocol

    [nextproto] The next proposed protocol version.

    Declaration
    [AlgoApiField("next-protocol")]
    public string NextProtocol { get; set; }
    Property Value
    Type Description
    String

    NextProtocolApprovals

    [nextyes] Number of blocks which approved the protocol upgrade.

    Declaration
    [AlgoApiField("next-protocol-approvals")]
    public Optional<ulong> NextProtocolApprovals { get; set; }
    Property Value
    Type Description
    Optional<UInt64>

    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
    Type Description
    Optional<UInt64>

    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
    Type Description
    Optional<UInt64>

    Methods

    Equals(BlockUpgradeState)

    Declaration
    public bool Equals(BlockUpgradeState other)
    Parameters
    Type Name Description
    BlockUpgradeState other
    Returns
    Type Description
    Boolean
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾