Root Hash
The roothash service is responsible for runtime commitment processing and minimal runtime state keeping.
The service interface definition lives in go/roothash/api. It defines the supported queries and transactions. For more information you can also check out the consensus service API documentation.

Methods

Executor Commit

The executor commit method allows an executor node to submit commitments of an executed computation. A new executor commit transaction can be generated using NewExecutorCommitTx.
Method name:
1
roothash.ExecutorCommit
Copied!
Body:
1
type ExecutorCommit struct {
2
ID common.Namespace `json:"id"`
3
Commits []commitment.ExecutorCommitment `json:"commits"`
4
}
Copied!
Fields:

Events

Consensus Parameters

  • max_runtime_messages (uint32) specifies the global limit on the number of messages that can be emitted in each round by the runtime. The default value of 0 disables the use of runtime messages.
Last modified 28d ago