Skip to content

2ACoin-Nodejs-Pool - v1.4.2

Latest
Compare
Choose a tag to compare
@2acoin 2acoin released this 12 Jan 17:41
· 2 commits to master since this release
1.4.2
2d68b6b

2ACoin-Nodejs-Pool

v1.4.2

Summary

The 2ACoin-Nodejs-Pool is a spin-off of the cryptonote-nodejs-pool software. It has been customized to work optimally with the 2ACoin Chukwa Mining Protocal.

This is the backend software for mining pool operators that want to run a pool for miners of 2ACoin ARMS. While customized for 2ACoin Chukwa mining. We try to maintain compatibility with the DVandal Version of cryptonote-nodejs-pool updates whenever feasible.

NOTE - Do not open wallets used with 2acoin-service via zedwallet. The wallet formats used in 2acoin-service are not compatible with zedwallet. However, wallet-api and zedwallet containers are compatible.

This release of the app includes the following changes as noted in the Release Notes below.

Release Notes

  • Implemented the ability to pass the Fee per Byte onto the miner at payment time
  • Modified the pool software for the use of either 2acoin-service or wallet-api
  • Works with 2ACoin Core v2.1.3 and up (wallet-api and 2acoin-service).

Pool Operator Instructions

Use the following instructions if you would like to use this version with wallet-api

  1. In place of 2acoin-service, start wallet-api with the following command
    (this is the minimum information for starting wallet-api. Refer to the wallet-api help for additional options)
    ./wallet-api --scan-coinbase-transactions --rpc-password your_rpc_password

  2. Modify your pool's config.json file in the pool folder to include the following;

    "wallet": {
        "api": true,
        "host": "127.0.0.1",
        "port": 17760,
        "pass": "**WALLET RPC PASSWORD**",
        "file": "/home/poolusr/wallets/wallet_file.wallet",
        "secret": "**YOUR WALLET PASSWORD **"
    },

api set to true to enable the wallet-api code
pass is your wallet RPC password
file is where your wallet is located (absolute path)
secret is you wallet's password

  1. Also, you must enable the option for the miner to pay the transfer fee. This can be enabled under the
    payments section in the config.json file.
    "payments": {
        "enabled": true,
        "interval": 1800,
        "maxAddresses": 50,
        "mixin": 3,
        "priority": 0,
        "transferFee": 50000,
        "minerPayFee" : true,
        "minPayment": 500000000,
        "maxPayment": 7500000000,
        "maxTransactionAmount": 15000000000,
        "denomination": 10000
    },

minerpayfee set to true.

  1. Be sure that you load the wallet used with wallet-api with sufficient funds to pay your miners.
    Remember - wallets used with 2acoin-service will get upgraded to the new format when used with wallet-api. Therefore, we strongly suggest you have your backup mnemonic, spend/view keys available if needed.

  2. Then start the pool software as normal.