Show / Hide Table of Contents

    Class NodeStatusResponse

    NodeStatus contains the information about a node status

    Inheritance
    System.Object
    NodeStatusResponse
    Implements
    System.IEquatable<NodeStatusResponse>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Algorand.V2.Model
    Assembly: Algorand.dll
    Syntax
    [DataContract]
    public class NodeStatusResponse : IEquatable<NodeStatusResponse>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    NodeStatusResponse()

    Initializes a new instance of the NodeStatusResponse class.

    Declaration
    [JsonConstructor]
    protected NodeStatusResponse()
    | Improve this Doc View Source

    NodeStatusResponse(Nullable<Int64>, Nullable<Int64>, String, String, Nullable<Int64>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int64>, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>)

    Initializes a new instance of the NodeStatusResponse class.

    Declaration
    public NodeStatusResponse(long? catchupTime = default(long? ), long? lastRound = default(long? ), string lastVersion = null, string nextVersion = null, long? nextVersionRound = default(long? ), bool? nextVersionSupported = default(bool? ), bool? stoppedAtUnsupportedRound = default(bool? ), long? timeSinceLastRound = default(long? ), string lastCatchpoint = null, string catchpoint = null, long? catchpointTotalAccounts = default(long? ), long? catchpointProcessedAccounts = default(long? ), long? catchpointTotalBlocks = default(long? ), long? catchpointAcquiredBlocks = default(long? ))
    Parameters
    Type Name Description
    System.Nullable<System.Int64> catchupTime

    CatchupTime in nanoseconds (required).

    System.Nullable<System.Int64> lastRound

    LastRound indicates the last round seen (required).

    System.String lastVersion

    LastVersion indicates the last consensus version supported (required).

    System.String nextVersion

    NextVersion of consensus protocol to use (required).

    System.Nullable<System.Int64> nextVersionRound

    NextVersionRound is the round at which the next consensus version will apply (required).

    System.Nullable<System.Boolean> nextVersionSupported

    NextVersionSupported indicates whether the next consensus version is supported by this node (required).

    System.Nullable<System.Boolean> stoppedAtUnsupportedRound

    StoppedAtUnsupportedRound indicates that the node does not support the new rounds and has stopped making progress (required).

    System.Nullable<System.Int64> timeSinceLastRound

    TimeSinceLastRound in nanoseconds (required).

    System.String lastCatchpoint

    The last catchpoint seen by the node.

    System.String catchpoint

    The current catchpoint that is being caught up to.

    System.Nullable<System.Int64> catchpointTotalAccounts

    The total number of accounts included in the current catchpoint.

    System.Nullable<System.Int64> catchpointProcessedAccounts

    The number of account from the current catchpoint that have been processed so far as part of the catchup.

    System.Nullable<System.Int64> catchpointTotalBlocks

    The total number of blocks that are required to complete the current catchpoint catchup.

    System.Nullable<System.Int64> catchpointAcquiredBlocks

    The number of blocks that have already been obtained by the node as part of the catchup.

    Properties

    | Improve this Doc View Source

    Catchpoint

    The current catchpoint that is being caught up to

    Declaration
    [DataMember(Name = "catchpoint", EmitDefaultValue = false)]
    public string Catchpoint { get; set; }
    Property Value
    Type Description
    System.String

    The current catchpoint that is being caught up to

    | Improve this Doc View Source

    CatchpointAcquiredBlocks

    The number of blocks that have already been obtained by the node as part of the catchup

    Declaration
    [DataMember(Name = "catchpoint-acquired-blocks", EmitDefaultValue = false)]
    public long? CatchpointAcquiredBlocks { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    The number of blocks that have already been obtained by the node as part of the catchup

    | Improve this Doc View Source

    CatchpointProcessedAccounts

    The number of account from the current catchpoint that have been processed so far as part of the catchup

    Declaration
    [DataMember(Name = "catchpoint-processed-accounts", EmitDefaultValue = false)]
    public long? CatchpointProcessedAccounts { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    The number of account from the current catchpoint that have been processed so far as part of the catchup

    | Improve this Doc View Source

    CatchpointTotalAccounts

    The total number of accounts included in the current catchpoint

    Declaration
    [DataMember(Name = "catchpoint-total-accounts", EmitDefaultValue = false)]
    public long? CatchpointTotalAccounts { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    The total number of accounts included in the current catchpoint

    | Improve this Doc View Source

    CatchpointTotalBlocks

    The total number of blocks that are required to complete the current catchpoint catchup

    Declaration
    [DataMember(Name = "catchpoint-total-blocks", EmitDefaultValue = false)]
    public long? CatchpointTotalBlocks { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    The total number of blocks that are required to complete the current catchpoint catchup

    | Improve this Doc View Source

    CatchupTime

    CatchupTime in nanoseconds

    Declaration
    [DataMember(Name = "catchup-time", EmitDefaultValue = false)]
    public long? CatchupTime { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    CatchupTime in nanoseconds

    | Improve this Doc View Source

    LastCatchpoint

    The last catchpoint seen by the node

    Declaration
    [DataMember(Name = "last-catchpoint", EmitDefaultValue = false)]
    public string LastCatchpoint { get; set; }
    Property Value
    Type Description
    System.String

    The last catchpoint seen by the node

    | Improve this Doc View Source

    LastRound

    LastRound indicates the last round seen

    Declaration
    [DataMember(Name = "last-round", EmitDefaultValue = false)]
    public long? LastRound { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    LastRound indicates the last round seen

    | Improve this Doc View Source

    LastVersion

    LastVersion indicates the last consensus version supported

    Declaration
    [DataMember(Name = "last-version", EmitDefaultValue = false)]
    public string LastVersion { get; set; }
    Property Value
    Type Description
    System.String

    LastVersion indicates the last consensus version supported

    | Improve this Doc View Source

    NextVersion

    NextVersion of consensus protocol to use

    Declaration
    [DataMember(Name = "next-version", EmitDefaultValue = false)]
    public string NextVersion { get; set; }
    Property Value
    Type Description
    System.String

    NextVersion of consensus protocol to use

    | Improve this Doc View Source

    NextVersionRound

    NextVersionRound is the round at which the next consensus version will apply

    Declaration
    [DataMember(Name = "next-version-round", EmitDefaultValue = false)]
    public long? NextVersionRound { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    NextVersionRound is the round at which the next consensus version will apply

    | Improve this Doc View Source

    NextVersionSupported

    NextVersionSupported indicates whether the next consensus version is supported by this node

    Declaration
    [DataMember(Name = "next-version-supported", EmitDefaultValue = false)]
    public bool? NextVersionSupported { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    NextVersionSupported indicates whether the next consensus version is supported by this node

    | Improve this Doc View Source

    StoppedAtUnsupportedRound

    StoppedAtUnsupportedRound indicates that the node does not support the new rounds and has stopped making progress

    Declaration
    [DataMember(Name = "stopped-at-unsupported-round", EmitDefaultValue = false)]
    public bool? StoppedAtUnsupportedRound { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    StoppedAtUnsupportedRound indicates that the node does not support the new rounds and has stopped making progress

    | Improve this Doc View Source

    TimeSinceLastRound

    TimeSinceLastRound in nanoseconds

    Declaration
    [DataMember(Name = "time-since-last-round", EmitDefaultValue = false)]
    public long? TimeSinceLastRound { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    TimeSinceLastRound in nanoseconds

    Methods

    | Improve this Doc View Source

    Equals(NodeStatusResponse)

    Returns true if NodeStatusResponse instances are equal

    Declaration
    public bool Equals(NodeStatusResponse input)
    Parameters
    Type Name Description
    NodeStatusResponse input

    Instance of NodeStatusResponse to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    Equals(Object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    System.Object input

    Object to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    JSON string presentation of the object

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    System.ComponentModel.DataAnnotations.ValidationContext validationContext

    Validation context

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX