Class NodeInfo
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
The status of the requested node.
public sealed record NodeInfo : IEquatable<NodeInfo>
- Inheritance
-
NodeInfo
- Implements
- Inherited Members
Constructors
NodeInfo(PeerVersion, DateTimeOffset, TimeSpan, NetworkInfo, INodeDetails)
The status of the requested node.
public NodeInfo(PeerVersion Version, DateTimeOffset LocalTime, TimeSpan UpTime, NetworkInfo NetworkInfo, INodeDetails Details)
Parameters
Version
PeerVersionThe version of the node.
LocalTime
DateTimeOffsetThe local (UTC) time of the node.
UpTime
TimeSpanHow long the node has been alive.
NetworkInfo
NetworkInfoInformation related to the network for the node.
Details
INodeDetailsInformation related to consensus for the node.
Properties
Details
Information related to consensus for the node.
public INodeDetails Details { get; init; }
Property Value
LocalTime
The local (UTC) time of the node.
public DateTimeOffset LocalTime { get; init; }
Property Value
NetworkInfo
Information related to the network for the node.
public NetworkInfo NetworkInfo { get; init; }
Property Value
UpTime
How long the node has been alive.
public TimeSpan UpTime { get; init; }
Property Value
Version
The version of the node.
public PeerVersion Version { get; init; }