Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

High-Performance Crypto Mining Stratum with Web Interface


Black_Rose©

Recommended Posts

spacer.png

 

Introduction

This article explores a high-performance stratum server for CryptoNote mining that comes equipped with a web interface, all developed in the Go programming language. The project is tailored for individuals looking to create their own mining pool, while offering features that enable effective monitoring and management of mining operations.

Key Features of the Stratum Server

  • Become Your Own Pool: Operate your mining pool independently, without relying on external services.
  • Rig Availability Monitoring: Keep track of the status and performance of your mining rigs.
  • Statistics Tracking: Monitor accepted shares, rejected shares, and block statistics.
  • Sick Rig Detection: Easily identify and troubleshoot underperforming rigs.
  • Daemon Failover List: Ensure stability with automatic failover when a daemon fails.
  • Concurrent Share Processing: Handle multiple shares simultaneously for efficiency.
  • User-Friendly Web Interface: Access a visually appealing interface for easy navigation and management.

Installation Requirements

To get started, ensure that you have the following dependencies:

  • Go version 1.6 or higher
  • All necessary components to build Monero
  • Monero with version 0.14.0.0 or higher (the master branch may be needed in some cases)

Installation on Linux

For the best compatibility, it is recommended to use Ubuntu 16.04 LTS. Here’s how to set it up:

  1. Install Monero Source Code:

  • This is the hidden content, please

     

  • Install Go and Required Packages:

  • This is the hidden content, please

     

  • Clone and Build the Stratum Server:

  1. This is the hidden content, please

    Note: If monero and monero-stratum are in the same directory (e.g., /opt/src/), setting MONERO_DIR is optional.

Installation on macOS

Follow these steps to compile the Monero source and set up the stratum server:

  1. Compile Monero Source Code:

  • This is the hidden content, please

     

  • Install Go:

  • This is the hidden content, please

     

  • Clone and Build the Stratum Server:

  1. This is the hidden content, please

     

Running the Stratum Server

Once the build process is complete, you can launch the stratum server using the following command:

 
./build/bin/monero-stratum config.json
    

If you intend to bind to privileged ports but do not wish to execute as root, you can set capabilities on your binary:

 
This is the hidden content, please

Configuration

The configuration file is self-descriptive. To set it up, simply copy config.example.json to config.json and adjust parameters accordingly. Here’s a sample configuration:

 
This is the hidden content, please

Make sure to configure the worker ID correctly, using the format anything.WorkerID as the username in your mining software. If no worker ID is specified, stats will be aggregated under worker ID 0. While this stratum functions similarly to your personal mining pool, rewards are only given after a block is found, with shares serving only for statistical purposes.

License Information

This project is released under the GNU General Public License v2, allowing for free usage, modification, and distribution in conjunction with its original licensing terms.

Conclusion

This high-performance CryptoNote mining stratum provides an opportunity for mining enthusiasts to set up a personal pool with a comprehensive web interface. With robust features for monitoring and configuration, it proves to be a valuable tool in the cryptocurrency mining landscape. Whether for education, research, or personal use, leveraging Go for such applications showcases the language's versatility and efficiency in handling network-related tasks.

 

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

Spoiler

Author - sammy007

 

Link to comment
Share on other sites


  • 100% changed the title to High-Performance Crypto Mining Stratum with Web Interface

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

spacer.png

Disable AdBlock
The popup will be closed in 5 seconds...