Crate beefy_gadget

source ·

Modules

Macros

Structs

BEEFY gadget initialization parameters.
Links used by the BEEFY RPC layer, from the BEEFY background voter.
Links between the block importer, the background voter and the RPC layer, to be used by the voter.

Traits

A convenience BEEFY client trait that defines all the type bounds a BEEFY client has to satisfy. Ideally that should actually be a trait alias. Unfortunately as of today, Rust does not allow a type alias to be used as a trait bound. Tracking issue is https://github.com/rust-lang/rust/issues/41517.

Functions

Make block importer and link half necessary to tie the background voter to it.
Returns the configuration value to put in sc_network::config::NetworkConfiguration::extra_sets. For standard protocol name see beefy_protocol_name::standard_name.
Name of the notifications protocol used by BEEFY.
Start the BEEFY gadget.