Type Alias bp_beefy::BeefySignedCommitmentOf
source · pub type BeefySignedCommitmentOf<C> = SignedCommitment<BlockNumberOf<C>, BeefyValidatorSignatureOf<C>>;
Expand description
Signed BEEFY commitment used by given Substrate chain.
Aliased Type§
struct BeefySignedCommitmentOf<C> {
pub commitment: Commitment<<C as Chain>::BlockNumber>,
pub signatures: Vec<Option<<<C as ChainWithBeefy>::AuthorityId as RuntimeAppPublic>::Signature>>,
}
Fields§
§commitment: Commitment<<C as Chain>::BlockNumber>
The commitment signatures are collected for.
signatures: Vec<Option<<<C as ChainWithBeefy>::AuthorityId as RuntimeAppPublic>::Signature>>
GRANDPA validators’ signatures for the commitment.
The length of this Vec
must match number of validators in the current set (see
Commitment::validator_set_id).