Repository navigation
Add optional BTC PoW Lab collector - #28
Merged
Merged
Conversation
Owner
|
Thank you Carlos for your contribution 🚀 |
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.
Miner Sentinel could not collect pool side statistics from BTC PoW Lab after a miner selected that pool.
This adds the separate optional read only collector requested in issue 27. Users can select BTC PoW Lab Hybrid Solo, enter their Bitcoin mining address, and keep the public API base configurable. Existing CKPool and Public Pool defaults stay unchanged.
The adapter preserves the real windows exposed by the API. It maps five minute, one hour, and one day address hashrate from H/s to GH/s. The absent one minute and seven day windows remain null. Pool totals convert TH/s to GH/s, while the fifteen minute total, community fields, and published economics stay in details. Missing or stale generated_at values are rejected.
Validation completed with 131 backend tests passing at 83.33 percent coverage, 48 data service tests passing with 7 expected external integration skips, and 144 frontend tests passing. The production frontend build completed and lint reported zero errors with 18 existing warnings.
I am Carlos Monzon from Power CM Software and I operate BTC PoW Lab. This contribution provides monitoring compatibility only. It does not claim higher miner performance or guaranteed mining outcomes.
Closes #27