Class StreamedBlockItem
A block item observed live on the block stream, delivered before its block is complete or verified.
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 StreamedBlockItem : IEquatable<StreamedBlockItem>
Remarks
Items arrive unverified and mid-block. If the publisher resends a block, a second run of items is delivered under the same BlockNumber; the later run supersedes the earlier. Consumers acting on items before block completion must treat them as provisional and reconcile when IsBlockComplete signals (or against the assembled block stream or mirror data).
Properties
| Edit this page View SourceBlockNumber
The block this item claims membership of, taken from the most recent block header observed on the stream (zero when items arrive before any header, which can happen when joining a stream mid-block).
Declaration
public ulong BlockNumber { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
IsBlockComplete
True when this item is the block's proof — the signal that BlockNumber is now complete on the wire and safe to reconcile. The proof itself is not verified.
Declaration
public bool IsBlockComplete { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Item
The block item.
Declaration
public BlockItem Item { get; }
Property Value
| Type | Description |
|---|---|
| BlockItem |