Skip to content

cryptobuks1/stratum-Stratum-Mining-Pool-with-RSK

 
 

Repository files navigation

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.

About

Stratum Mining Pool with RSK Merged Mining Capabilities

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%