Skip to content

pool.json

raistlinthewiz edited this page Oct 2, 2014 · 21 revisions

pool.json contains the configuration for the pools. You have to first copy pool.jsonand start editing it.

Note that, you can also use a file named default.json for putting in common configuration options. When a pool.json configuration is loaded, it'll be merged with default.json.

"enabled": true
  • enabled: Is the pool enabled?

Coin configuration

Contains the configuration for the coin.

"coin": "litecoin.json"
  • coin: name of the coin configuration while which should exist in /config/coins/.

Daemon configuration

Contains the settings for pool's daemon connection.

    "daemon": {
        "host": "127.0.0.1",
        "port": 9333,
        "username": "user",
        "password": "password",
        "timeout": 5
    }
  • host: ip/hostname of daemon.
  • port: the port coin daemon is listening on.
  • username: username for rpc connection.
  • password: password for rpc connection.
  • timeout: timeout for rpc requests.

Meta configuration

Contains meta information about the pool.

    "meta": {
        "motd": "Welcome to CoiniumServ pool, enjoy your stay! - http://www.coiniumserv.com",
        "txMessage": "http://www.coiniumserv.com/"
     }
  • motd: message of the day sent to connected miners.
  • txMessage: message to be included used within generation transactions.

Wallet configuration

Contains the address of the pool's central wallet.

    "wallet" : {
        "address":  "n3Mvrshbf4fMoHzWZkDVbhhx4BLZCcU9oY"
    }
  • address: rewarded coins for mined blocks will arrive this address.