Documentation ¶
Index ¶
- func KeyManagerRuntime(ctx *tmapi.Context, rtID common.Namespace) (*registry.Runtime, error)
- func NodeRuntime(n *node.Node, rtID common.Namespace) (*node.Runtime, error)
- func NodeRuntimes(nodes []*node.Node, rtID common.Namespace) []*node.Runtime
- func RegistryRuntimes(ctx *tmapi.Context, doc *genesis.Document, epoch beacon.EpochTime) map[common.Namespace]*registry.Runtime
- func RuntimeAttestationKey(nodeRt *node.Runtime, kmRt *registry.Runtime) (*signature.PublicKey, error)
- func RuntimeEncryptionKeys(nodeRts []*node.Runtime, kmRt *registry.Runtime) map[x25519.PublicKey]struct{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyManagerRuntime ¶
KeyManagerRuntime looks up a runtime by its identifier and returns it if it exists and is a key manager.
func NodeRuntime ¶
NodeRuntime searches for an existing supported runtime descriptor in the runtimes of the specified node and returns the first one found.
This is a helper function for fetching the key manager runtime, as key managers run exactly one version of the runtime.
func NodeRuntimes ¶
NodeRuntimes searches for existing supported runtime descriptors in the runtimes of the specified nodes.
If a node doesn't support the runtime, it is ignored.
func RegistryRuntimes ¶ added in v0.2403.0
func RegistryRuntimes(ctx *tmapi.Context, doc *genesis.Document, epoch beacon.EpochTime) map[common.Namespace]*registry.Runtime
RegistryRuntimes returns verified genesis runtimes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.