Function polkadot_service::new_full
source · pub fn new_full<OverseerGenerator: OverseerGen, Network: NetworkBackend<Block, <Block as BlockT>::Hash>>(
config: Configuration,
_: NewFullParams<OverseerGenerator>,
) -> Result<NewFull, Error>
Expand description
Create a new full node of arbitrary runtime and executor.
This is an advanced feature and not recommended for general use. Generally, build_full
is
a better choice.
workers_path
is used to get the path to the directory where auxiliary worker binaries reside.
If not specified, the main binary’s directory is searched first, then /usr/lib/polkadot
is
searched. If the path points to an executable rather then directory, that executable is used
both as preparation and execution worker (supposed to be used for tests only).