pub async fn request_node_features(
parent: Hash,
session_index: SessionIndex,
sender: &mut impl SubsystemSender<RuntimeApiMessage>,
) -> Result<Option<NodeFeatures>, Error>
Expand description
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
.