Class ConsensusNodeInfo
Information regarding a node from the signed address book.
Implements
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed record ConsensusNodeInfo : IEquatable<ConsensusNodeInfo>
Properties
| Edit this page View SourceAddress
The crypto account associated with this node.
Declaration
public EntityId Address { get; }
Property Value
| Type | Description |
|---|---|
| EntityId |
CertificateHash
Hash of the nodes TLS certificate. This field is a string of hexadecimal characters which, translated to binary, are the SHA-384 hash of the UTF-8 NFKD encoding of the node's TLS cert in PEM format. Its value can be used to verify the node's certificate it presents during TLS negotiations.
Declaration
public ReadOnlyMemory<byte> CertificateHash { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
Description
A Description of the node.
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
Endpoints
List of public ip addresses and ports exposed by this node.
Declaration
public ConsensusNodeEndpointInfo[] Endpoints { get; }
Property Value
| Type | Description |
|---|---|
| ConsensusNodeEndpointInfo[] |
Id
Identifier of the node (non-sequential)
Declaration
public long Id { get; }
Property Value
| Type | Description |
|---|---|
| long |
RsaPublicKey
The RSA public key of the node. Used to sign stream files (e.g., record stream files). Precisely, this field is a string of hexadecimal characters which, translated to binary, are the public key's DER encoding.
Declaration
public string RsaPublicKey { get; }
Property Value
| Type | Description |
|---|---|
| string |