Function polkadot_node_subsystem_util::runtime::key_ownership_proof
source · pub async fn key_ownership_proof<Sender>(
sender: &mut Sender,
relay_parent: Hash,
validator_id: ValidatorId,
) -> Result<Option<OpaqueKeyOwnershipProof>, Error>where
Sender: SubsystemSender<RuntimeApiMessage>,
Expand description
Generate validator key ownership proof.
Note: The choice of relay_parent
is important here, it needs to match
the desired session index of the validator set in question.