Show / Hide Table of Contents

Class BlockStreamCheckpoint

A persisted point of verified block stream progress: a block number and the merkle root hash this client computed for it.

Inheritance
object
BlockStreamCheckpoint
Implements
IEquatable<BlockStreamCheckpoint>
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 BlockStreamCheckpoint : IEquatable<BlockStreamCheckpoint>
Remarks

Consumers persist the pair after processing each verified block (from Number and VerifiedRootHash) and pass it back via ResumeFromCheckpoint after a restart: the resumed stream's first block must chain from this hash, making continuity cryptographic rather than merely numeric.

Constructors

| Edit this page View Source

BlockStreamCheckpoint(ulong, ReadOnlyMemory<byte>)

A persisted point of verified block stream progress: a block number and the merkle root hash this client computed for it.

Declaration
public BlockStreamCheckpoint(ulong BlockNumber, ReadOnlyMemory<byte> RootHash)
Parameters
Type Name Description
ulong BlockNumber

The verified block's number.

ReadOnlyMemory<byte> RootHash

The merkle root hash computed for that block.

Remarks

Consumers persist the pair after processing each verified block (from Number and VerifiedRootHash) and pass it back via ResumeFromCheckpoint after a restart: the resumed stream's first block must chain from this hash, making continuity cryptographic rather than merely numeric.

Properties

| Edit this page View Source

BlockNumber

The verified block's number.

Declaration
public ulong BlockNumber { get; init; }
Property Value
Type Description
ulong
| Edit this page View Source

RootHash

The merkle root hash computed for that block.

Declaration
public ReadOnlyMemory<byte> RootHash { get; init; }
Property Value
Type Description
ReadOnlyMemory<byte>

Implements

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