referrerpolicy=no-referrer-when-downgrade

Module polkadot_node_subsystem_util::runtime

source ·
Expand description

Convenient and efficient runtime info access. Convenient interface to runtime information.

Structs§

Enums§

Functions§

  • Convenience function for quickly checking the signature on signed data.
  • Checks if the runtime supports request_claim_queue and attempts to fetch the claim queue. Returns ClaimQueueSnapshot or None if claim queue API is not supported by runtime. Any specific RuntimeApiError is bubbled up to the caller.
  • Request availability cores from the runtime.
  • Get CandidateEvents for the given relay_parent.
  • Returns disabled validators list if the runtime supports it. Otherwise logs a debug messages and returns an empty vec. Once runtime ver DISABLED_VALIDATORS_RUNTIME_REQUIREMENT is released remove this function and replace all usages with request_disabled_validators
  • Get group rotation info based on the given relay_parent.
  • Variant of request_availability_cores that only returns occupied ones.
  • Get on chain votes.
  • Fetch a list of PendingSlashes from the runtime.
  • Fetch ValidationCode by hash from the runtime.
  • Generate validator key ownership proof.
  • Requests prospective parachains mode for a given relay parent based on the Runtime API version.
  • Receive a response from a runtime request and convert errors.
  • Request the min backing votes value. Prior to runtime API version 6, just return a hardcoded constant.
  • Request the node features enabled in the runtime. Pass in the session index for caching purposes, as it should only change on session boundaries. Prior to runtime API version 9, just return None.
  • Submit a past-session dispute slashing report.