MCPcopy Create free account
hub / github.com/DataHighway-DHX/node / new_light

Function new_light

node/src/service.rs:500–502  ·  view source on GitHub ↗

Builds a new service for a light client.

(config: Configuration)

Source from the content-addressed store, hash-verified

498
499/// Builds a new service for a light client.
500pub fn new_light(config: Configuration) -> Result<TaskManager, ServiceError> {
501 new_light_base(config).map(|(task_manager, ..)| task_manager)
502}

Callers 2

runFunction · 0.85
new_light_baseFunction · 0.85

Calls 1

new_light_baseFunction · 0.85

Tested by

no test coverage detected