Constant CONFIG_FILE_CONTENTS

Source
pub(crate) const CONFIG_FILE_CONTENTS: &str = "## explorerd configuration file\n##\n## Please make sure you go through all the settings so you can configure\n## your daemon properly.\n##\n## The default values are left commented. They can be overridden either by\n## uncommenting, or by using the command-line.\n\n# Blockchain network to use\nnetwork = \"testnet\"\n\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n# Localnet Configuration\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n[network_config.\"localnet\"]\n\n# Path to daemon database\ndatabase = \"~/.local/share/darkfi/explorerd/localnet\"\n\n# darkfid JSON-RPC endpoint\nendpoint = \"tcp://127.0.0.1:8240\"\n\n## Localnet JSON-RPC settings\n[network_config.\"localnet\".rpc]\n# JSON-RPC listen URL\nrpc_listen = \"tcp://127.0.0.1:14567\"\n\n# Disabled RPC methods\n#rpc_disabled_methods = []\n\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n# Testnet Configuration\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n[network_config.\"testnet\"]\n\n# Path to daemon database\ndatabase = \"~/.local/share/darkfi/explorerd/testnet\"\n\n# darkfid JSON-RPC endpoint\nendpoint = \"tcp://127.0.0.1:8340\"\n\n## Localnet JSON-RPC settings\n[network_config.\"testnet\".rpc]\nrpc_listen = \"tcp://127.0.0.1:14667\"\n\n# Disabled RPC methods\n#rpc_disabled_methods = []\n\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n# Mainnet Configuration\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n[network_config.\"mainnet\"]\n\n# Path to daemon database\ndatabase = \"~/.local/share/darkfi/explorerd/mainnet\"\n\n# darkfid JSON-RPC endpoint\nendpoint = \"tcp://127.0.0.1:8440\"\n\n## Localnet JSON-RPC settings\n[network_config.\"mainnet\".rpc]\nrpc_listen = \"tcp://127.0.0.1:14767\"\n\n# Disabled RPC methods\n#rpc_disabled_methods = []\n";