Enum PublishStreamEndReason
The reason a block node gives when it terminates a 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 PublishStreamEndReason
Fields
| Name | Description |
|---|---|
| BadBlockProof | The published block's proof failed verification. |
| DuplicateBlock | The published block duplicates one the node already holds. |
| Error | The node encountered an internal error. |
| InvalidRequest | The node rejected the stream as malformed. |
| PersistenceFailed | The node failed to persist a published block. |
| Success | The stream ended normally. |
| Timeout | The node timed out the stream. |
| Unknown | A reason this client does not recognize. |