Configure mining credentials and build CGMiner 3.7.2 with GPU support#6
Open
drqsatoshi wants to merge 17 commits intobraiins:masterfrom
Open
Configure mining credentials and build CGMiner 3.7.2 with GPU support#6drqsatoshi wants to merge 17 commits intobraiins:masterfrom
drqsatoshi wants to merge 17 commits intobraiins:masterfrom
Conversation
Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>
Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>
Configure default upstream pool and worker credentials for stratum.braiins.com
…patibilities Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>
Port proxy to Python 3: vendor stratum library and fix Python 2 incompatibilities
Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>
Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>
Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>
Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>
Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>
Build CGMiner 3.7.2 (AMD GPU + scrypt) via GitHub Actions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and modernization efforts for the build process, deployment, and codebase of the project. The most significant changes include adding CI workflows for automated builds and tests, updating Dockerfiles for easier deployment and compatibility, improving Python 3 support, and updating documentation and configuration defaults to use braiins.com instead of slushpool.com. Below are the most important changes grouped by theme:
Build and CI Automation
.github/workflows/build-cgminer.ymlto automate building the cgminer 3.7.2 binary with AMD GPU and scrypt support, including artifact upload for easy distribution..github/workflows/c-cpp.ymlfor automated C/C++ CI, running configure, make, and checks on every push and pull request.Docker and Deployment Improvements
Dockerfilewith a Python 3-based image, updated dependency installation, switched entrypoint to Python 3, and simplified repository handling for better compatibility and maintainability.Dockerfile.cgminerfor multi-stage building of cgminer 3.7.2, producing a minimal runtime image with only necessary dependencies and the cgminer binary.Python 3 Compatibility and Code Cleanliness
mining_libs/client_service.pyandmining_libs/jobs.pyto use relative imports, improving compatibility with Python 3 module structure. [1] [2] [3]mining_libs/getwork_listener.pyandmining_libs/jobs.pyto handle bytes vs. string conversions, ensuring proper encoding/decoding for Python 3 and more robust request processing. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]Documentation and Configuration Updates
README.mdinstructions and examples to use braiins.com as the default pool host, added detailed cgminer 3.7.2 build instructions (manual, CI, and Docker), and clarified scrypt mining setup for AMD GPUs. [1] [2] [3]debian/stratum-mining-proxy.defaultfrom slushpool.com to braiins.com.These changes collectively modernize the project, streamline deployment and build processes, improve cross-platform compatibility, and update documentation for current recommended practices.