[][src]Module grin_config::config

Configuration file management

Constants

API_SECRET_FILE_NAME

Node Rest API and V2 Owner API secret

FOREIGN_API_SECRET_FILE_NAME

Foreign API secret

SERVER_CONFIG_FILE_NAME

The default file name to use when trying to derive the node config file location

Functions

check_api_secret

Check if file contains a secret and nothing else

init_api_secret

Create file with api secret

initial_setup_server

Handles setup and detection of paths for node