Function polkadot_service::build_full
source · pub fn build_full(
config: Configuration,
is_collator: IsCollator,
grandpa_pause: Option<(u32, u32)>,
enable_beefy: bool,
jaeger_agent: Option<SocketAddr>,
telemetry_worker_handle: Option<TelemetryWorkerHandle>,
overseer_enable_anyways: bool,
overseer_gen: impl OverseerGen,
overseer_message_channel_override: Option<usize>,
malus_finality_delay: Option<u32>,
hwbench: Option<HwBench>
) -> Result<NewFull<Client>, Error>
Expand description
Build a full node.
The actual “flavor”, aka if it will use Polkadot
, Rococo
or Kusama
is determined based on
IdentifyVariant
using the chain spec.
overseer_enable_anyways
always enables the overseer, based on the provided OverseerGenerator
,
regardless of the role the node has. The relay chain selection (longest or disputes-aware) is
still determined based on the role of the node. Likewise for authority discovery.