Expand description
Convenient and efficient runtime info access. Convenient interface to runtime information.
Structs§
- Claim
Queue Snapshot - A snapshot of the runtime claim queue at an arbitrary relay chain block.
- Config
- Configuration for construction a
RuntimeInfo
. - Extended
Session Info SessionInfo
with additional useful data for validator nodes.- Runtime
Info - Caching of session info.
- Validator
Info - Information about ourselves, in case we are an
Authority
.
Enums§
Functions§
- check_
signature - Convenience function for quickly checking the signature on signed data.
- fetch_
claim_ queue - Fetch the claim queue and wrap it into a helpful
ClaimQueueSnapshot
- fetch_
scheduling_ lookahead - Returns the lookahead from the scheduler params if the runtime supports it, or default value if scheduling lookahead API is not supported by runtime.
- fetch_
validation_ code_ bomb_ limit - Fetch the validation code bomb limit from the runtime.
- get_
availability_ cores - Request availability cores from the runtime.
- get_
candidate_ events - Get
CandidateEvent
s for the givenrelay_parent
. - get_
group_ rotation_ info - Get group rotation info based on the given
relay_parent
. - get_
occupied_ cores - Variant of
request_availability_cores
that only returns occupied ones. - get_
on_ chain_ votes - Get on chain votes.
- get_
unapplied_ slashes - Fetch a list of
PendingSlashes
from the runtime. - get_
validation_ code_ by_ hash - Fetch
ValidationCode
by hash from the runtime. - key_
ownership_ proof - Generate validator key ownership proof.
- recv_
runtime - Receive a response from a runtime request and convert errors.
- submit_
report_ dispute_ lost - Submit a past-session dispute slashing report.