Socket
Socket
Sign inDemoInstall

merged-pooler-portal

Package Overview
Dependencies
116
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    merged-pooler-portal

Node Merged Portal ================== This is a simple pool which makes use of merged-pooler to allow for a simple merged mining solution


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Node Merged Portal

This is a simple pool which makes use of node-merged-pool to allow for a simple merged mining solution

Quick Start

  1. Clone this repository
  2. Gather dependencies:
npm install
  1. Set coin configurations
  2. Copy config.json.example to config.json.
  3. Edit config.json as needed.
  4. Create pool configurations inside pools. Place coin configurations in the coins directory
  5. Start the pool with:
node app.js
  1. Publicize your pool to relevant forums. ex: LottoShares Forum

Configuration Description

config.json

{
    "web": {
        "port": 4567 // The port the website will be available on
    },

    "db": {
        "sharelogMaxLength": 20000, // This should always be much greater than pplnsShares
        "graphMaxLength": 10000, // Graphs are not yet implemented
        "hashrateTime": 10 // Number if minutes over which the pool hashrate will be calculated
    },

    "payouts": {
        "interval": 20, // How often (in seconds) should the payout daemon scan for payouts to execute?
        "threshold": 1 // How many coins are required for a client to receive payout?
    },

    "pplnsShares": 100000 // Number of shares to use for block
}

litecoin-merged.json

{
    "coin": "litecoin.json", // Make sure this file is available in the coins directory
    "auxes": [ // Defines auxillery coins
        {
            "coin": "lottoshares.json",
            "daemons": [ // It is reccomended to supply multiple daemons here for redundancy
                {
                    "host": "127.0.0.1",
                    "port": 23327,
                    "user": "lottosharesrpc",
                    "password": "By66dCmyX44uUbA7P3qqXJQeT3Ywd8dZ4dJdfgxCAxbg"
                }
            ]
        }
    ],

    "address": "LWnyEVFNBKmSezQZx7oCmPm77FLzEhaAp1", // Payout address of the primary coin
    "rewardRecipients": { // For pool operator fees
        // Donation address - leave here if you would like to donate :)
        // it supports all coins
        "02ac8adcede9992d1e4f60477a93a6445266084b3ffc429d5d243293b0e5f7701d": 0.1
    },

    "blockRefreshInterval": 1000, // How often should node-merged-pool poll for blocks?

    "jobRebroadcastTimeout": 55, // When should updated blocks/transactions be sent to clients?
    "connectionTimeout": 600,

    "emitInvalidBlockHashes": false, // Has no effect at this time

    "tcpProxyProtocol": false, // Has no effect at this time

    "banning": {
        "enabled": true,
        "time": 600, // How long bans last
        "invalidPercent": 50,
        "checkThreshold": 500,
        "purgeInterval": 300
    },

    // Define your stratum ports here
    "ports": {
        "3032": { // Here is one
            "diff": 32, // with share difficulty 32

            "varDiff": { // Vardiff configuration
                "minDiff": 8,
                "maxDiff": 512,
                "targetTime": 15, // How often a share should be submitted by a client
                "retargetTime": 90,
                "variancePercent": 30
            }
        },
        "3256": { // Another stratum port for fast miners
            "diff": 256
        }
    },

    "daemons": [ // Primary coin daemon configuration. Same as above, include multiple daemons for redundancy
        {
            "host": "127.0.0.1",
            "port": 9332,
            "user": "litecoinrpc",
            "password": "8gZFkt93ZcCuTYZ6riGJbsDNUZXmZewvETEGJEccX2mc"
        }
    ],


    // Currently has no effect
    "p2p": {
        "enabled": false,

        "host": "127.0.0.1",

        "port": 19333,

        "disableTransactions": true

    }
}

Keywords

FAQs

Last updated on 18 Jan 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc