Skip to content

daemons.json

raistlinthewiz edited this page Oct 2, 2014 · 5 revisions

daemons.json contains configuration for extra daemon connections that can be used by auto-exchange module - which is still not in use.

Basically you can add extra payment daemons so that auto-exchange module can pay in a specific coin even if you don't run a pool for it.

Daemons Configuration

Contains extra daemon connections as an array.

    "daemons": [
        {
            "enabled": false,	
            "coin": "litecoin.json", 
            "daemon": {
                "host": "127.0.0.1",
                "port": 9333,
                "username": "user",
                "password": "password",
                "timeout": 5
            }
        }
    ]
  • enabled: Is the connection enabled?
  • coin: name of the coin configuration file that should exist in config/coins/.
  • host: ip/hostname of coin-daemon.
  • port: the port coin daemon is listening on.
  • username: username for rpc connection.
  • password: password for rpc connection.
  • timeout: timeout for rpc requests.