Class BlockNodeStatus
The basic status of a block node: the span of blocks it can serve.
Implements
Inherited Members
Namespace: Hiero.BlockNode
Assembly: Hiero.dll
Syntax
[Experimental("HIERO001", UrlFormat = "https://github.com/bugbytesinc/Hiero/blob/main/docs/blocknode-client-plan.md")]
public sealed record BlockNodeStatus : IEquatable<BlockNodeStatus>
Remarks
Not every block node holds full history — check FirstAvailableBlockNumber before requesting historical blocks or subscribing from a historical starting point.
Properties
| Edit this page View SourceFirstAvailableBlockNumber
The earliest block number this node can serve.
Declaration
public ulong FirstAvailableBlockNumber { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
LastAvailableBlockNumber
The latest block number this node can serve, or MaxValue when the node is newly installed or backfilling its history and its range is not contiguous — in which case GetServerStatusDetailAsync(CancellationToken, Action<IBlockNodeContext>?) reports the actual available ranges.
Declaration
public ulong LastAvailableBlockNumber { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
OnlyLatestState
True when the node retains only the latest state snapshot rather than historical state.
Declaration
public bool OnlyLatestState { get; }
Property Value
| Type | Description |
|---|---|
| bool |