referrerpolicy=no-referrer-when-downgrade

Crate bp_beefy

Source
Expand description

Primitives that are used to interact with BEEFY bridge pallet.

Structs§

BeefyAuthoritySet
Details of a BEEFY authority set.
BeefyEcdsaToEthereum
Convert BEEFY secp256k1 public keys into Ethereum addresses
BeefyPayload
A BEEFY payload type allowing for future extensibility of adding additional kinds of payloads.
Commitment
A commitment signed by GRANDPA validators as part of BEEFY protocol.
ImportedCommitment
Basic data, stored by the pallet for every imported commitment.
InitializationData
Data required for initializing the BEEFY pallet.
MmrLeafVersion
An MMR leaf versioning scheme.
MmrProof
An MMR proof data for a group of leaves.
SignedCommitment
A commitment with matching GRANDPA validators’ signatures.
ValidatorSet
A set of BEEFY authorities, a.k.a. validators.

Enums§

MmrDataOrHash
An element representing either full data or its hash.

Constants§

BEEFY_ENGINE_ID
The ConsensusEngineId of BEEFY.
MMR_ROOT_PAYLOAD_ID
A Payload identifier for Merkle Mountain Range root hash.

Traits§

BeefyAuthorityId
Trait representing BEEFY authority id, including custom signature verification.
ChainWithBeefy
Substrate-based chain with BEEFY && MMR pallets deployed.

Functions§

merkle_root
Construct a root hash of a Binary Merkle Tree created from given leaves.
verify_mmr_leaves_proof
Stateless MMR proof verification for batch of leaves.

Type Aliases§

BeefyAuthorityIdOf
BEEFY validator id used by given Substrate chain.
BeefyAuthorityIdToMerkleLeafOf
A way to convert a validator id to its raw representation in the BEEFY merkle tree, used by the given Substrate chain.
BeefyAuthoritySetInfoOf
BEEFY authority set, containing both validator identifiers and the numeric set id.
BeefyAuthoritySetOf
BEEFY validator set, containing both validator identifiers and the numeric set id.
BeefyCommitmentHasher
Hash algorithm, used to compute the digest of the BEEFY commitment before signing it.
BeefyMmrLeafExtraOf
The type of the MMR leaf extra data used by the given Substrate chain.
BeefyMmrLeafOf
Actual type of leafs in the BEEFY MMR.
BeefySignedCommitmentOf
Signed BEEFY commitment used by given Substrate chain.
BeefyValidatorSignatureOf
BEEFY validator signature used by given Substrate chain.
EcdsaValidatorId
Identity of a BEEFY authority using ECDSA as its crypto.
EcdsaValidatorSignature
Signature for a BEEFY authority using ECDSA as its crypto.
MmrHashOf
Hash type, used in MMR construction by given Substrate chain.
MmrHashingOf
Hash algorithm used in Beefy MMR construction by given Substrate chain.
MmrProofOf
BEEFY MMR proof type used by the given Substrate chain.
ValidatorSetId
A typedef for validator set id.