Expand description
Utility functions for node startup and shutdown, for example path parsing and retrieving single blocks from the network.
Functions§
- get_
or_ create_ jwt_ secret_ from_ path - Attempts to retrieve or create a JWT secret from the specified path.
- get_
single_ body - Get a body from the network based on header
- get_
single_ header - Get a single header from the network
- parse_
path - Parses a user-specified path with support for environment variables and common shorthands (e.g. ~ for the user’s home directory).