[][src]Module grin_config::config

Configuration file management

Constants

API_SECRET_FILE_NAME

API secret file name

GRIN_WALLET_DIR

Wallet data directory

SERVER_CONFIG_FILE_NAME

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

WALLET_CONFIG_FILE_NAME

And a wallet configuration file name

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

initial_setup_wallet

Handles setup and detection of paths for wallet