Available on crate feature
node-api only.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 into a
PathBuf.