Repository navigation
Public stratum is a donation, validation and fallback endpoint, grace then 100% - #32
Merged
Merged
Conversation
The fee switch has fired, so the countdown and the 25% / 12.5 fallbacks are wrong. The grace at 25% stays on the notice, and every flat fee claim names it. Co-authored-by: Cursor <cursoragent@cursor.com>
…then 100% The sites still called the grace a failover, and the hub still said hosted stratum was being retired. The miner estimate now uses Prime's per-address grace work, and the page shows when that grace ends. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
/api/poolpasses Prime's grace knobs through when the stats document has them. A miner's estimate blendsgrace_workat the grace rebate, and the miner page shows 25% and the end time whilestratum_grace_untilis still ahead, then 100%.183c8b7(the donation-endpoint copy), which is not onmainyet. Does not touchprime/, primed, or any deploy.Test plan
python3 -m pytest pool/test_stratum_grace_fee.py pool/test_earned_24h.py pool/test_gateway_builds.py(25 passed)python3 -m pytest pool/test_scanner_backfill.py(15 passed)cd cloudflare/mcp && npm test(138 passed)node --checkon the edited JS andpython3 -m py_compile pool/server.py/api/poolprimeincludes the grace knobsMade with Cursor