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.

Rewards configuration

Contains the static rewards for found blocks like pool fees.

    "rewards":  [
        {"myxWybbhUkGzGF7yaf2QVNx3hh3HWTya5t": 1} 
    ]
  • rewards: list of addresses that gets a percentage from each mined block (ie, pool fee.)

Payment Processor configuration

Contains the configuration for payment processor. Note: DO NOT enable payment processor when using mpos-storage layer.

    "payments": {
        "enabled": true,
        "interval": 60,
        "minimum": 0.01
    }
  • enabled: set this true to let CoiniumServ handle the payments, false if you would like some other software like mpos to handle them.
  • interval: interval in seconds that payment-processor will be running.
  • minimum: minimum amount of coins before a miner is eligable for getting a payment.