Module polkadot_node_subsystem_util::runtime
source · Expand description
Convenient and efficient runtime info access. Convenient interface to runtime information.
Structs
- Configuration for construction a
RuntimeInfo
. SessionInfo
with additional useful data for validator nodes.- Caching of session info.
- Information about ourselves, in case we are an
Authority
.
Enums
- Prospective parachains mode of a relay parent. Defined by the Runtime API version.
Functions
- Convenience function for quickly checking the signature on signed data.
- Request availability cores from the runtime.
- Get
CandidateEvent
s for the givenrelay_parent
. - 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.
- Submit a past-session dispute slashing report.