Giter Club home page Giter Club logo

stratum's Introduction

Stratum Mining Pool with RSK Merged Mining Capabilities

This repository is based on Stratum Mining original repository and has all the neccessary changes to allow the pool to do merged mining with RSK. Said changes can be found in the master branch, which is periodically updated with changes from Stratum Mining original.

If you need more information about Stratum Mining original, please refer to its README

If you are planning to use this code, please check that is up to date with the version of Stratum Mining original that you are using.

Merged Mining settings

The following settings must be configured on conf/config.py to do merged mining with RSK.

RSK_TRUSTED_HOST = 'localhost' is the address where the RskJ node is listening.

RSK_TRUSTED_PORT = 4444 is the port where the RskJ node is listening.

RSK_POLL_PERIOD = 2 indicates the frequency in seconds to poll RskJ node for work.

RSK_NOTIFY_POLICY = 2 indicates when to trigger updates to miners.

  • 0 is only when a new bitcoin work is received
  • 1 is when an rsk work is received
  • 2 is the same as 1 but sending clean_jobs parameter from stratum protocol in true

Development mode

The pool has settings that allow it to override the values of difficulty sent to the miners or used to compare for a BTC or RSK solution. Those settings should not be used in production. In order to enable them, set RSK_DEV_MODE to True and the desired values for the remaining settings.

stratum's People

Contributors

martinmedina avatar ignaciopulicedonatto avatar slush0 avatar theuni avatar kanzure avatar luke-jr avatar donequis avatar m0mchil avatar admin-slush avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.