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
VersionPeerVersionThe version of the node.
LocalTimeDateTimeOffsetThe local (UTC) time of the node.
UpTimeTimeSpanHow long the node has been alive.
NetworkInfoNetworkInfoInformation related to the network for the node.
DetailsINodeDetailsInformation 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; }