pub async fn add_node(
options: AddNodeServiceOptions,
node_registry: NodeRegistryManager,
service_control: &dyn ServiceControl,
verbosity: VerbosityLevel,
) -> Result<Vec<String>>
Expand description
Install antnode as a service.
This only defines the service; it does not start it.
There are several arguments that probably seem like they could be handled within the function, but they enable more controlled unit testing.
Returns the service names of the added services.