Enum PublishStreamEventKind
The kind of directive or acknowledgement a block node sends a publisher over an open publish stream.
Namespace: Hiero.BlockNode
Assembly: Hiero.dll
Syntax
[Experimental("HIERO001", UrlFormat = "https://github.com/bugbytesinc/Hiero/blob/main/docs/blocknode-client-plan.md")]
public enum PublishStreamEventKind
Fields
| Name | Description |
|---|---|
| BehindPublisher | The node is behind; the event's block number is its latest known. Rewind to that block + 1, or end the stream with TooFarBehind. |
| BlockAcknowledged | The node verified and persisted blocks; the acknowledgement is cumulative — all blocks up to and including the event's block number are acknowledged. |
| ResendBlock | The node needs the event's block again from its header. |
| SkipBlock | The node is receiving the event's block from another publisher; do not (re)send it. A skip is always followed later by either an acknowledgement or a resend request for that block. |
| StreamEnded | The node terminated the stream; see EndReason. |