Show / Hide Table of Contents

Class StreamedBlockItem

A block item observed live on the block stream, delivered before its block is complete or verified.

Inheritance
object
StreamedBlockItem
Implements
IEquatable<StreamedBlockItem>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

BlockNumber

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
| Edit this page View Source

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
| Edit this page View Source

Item

The block item.

Declaration
public BlockItem Item { get; }
Property Value
Type Description
BlockItem

Implements

IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph