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