Function polkadot_cli::run_node
source · pub fn run_node(
run: Cli,
overseer_gen: impl OverseerGen,
malus_finality_delay: Option<u32>,
) -> Result<(), Error>
Expand description
Launch a node, accepting arguments just like a regular node,
accepts an alternative overseer generator, to adjust behavior
for integration tests as needed.
malus_finality_delay
restrict finality votes of this node
to be at most best_block - malus_finality_delay
height.