Skip to content

Recover testnet NU7 accounting and mining charts - #133

Merged
Kenbak merged 6 commits into
mainfrom
new/nu7-miner-receipts
Oct 17, 2026
Merged

Kenbak merged 6 commits into
mainfrom
new/nu7-miner-receipts

Conversation

@Kenbak

@Kenbak Kenbak commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Testnet accounting buckets lost actual miner receipts whenever tip-only subsidy observations were missed, and isolated valid points were invisible. Add a canonical height/hash/network-bound historical subsidy allocation cache, exact coinbase-based receipt recovery, independent coverage, visible receipt bars, bounded scheduled repair and fresh deep-health checks. Actual underclaims and genuinely unavailable reserve observations remain distinguishable.

Repair the related Mining/Network charts: estimate short-window solrate from complete-window difficulty work over elapsed header time, expose the last recorded NSM sample within each bucket with its actual hash/height/header time, and open supported histories at30days. Provide a bounded official-testnet attributed-payout snapshot job with exact amounts, partial-attribution/refresh metadata and honest loading/error/empty states. The source is reconciled with the current main cache/SEO release.

Validation: all required PR checks pass. Native PostgreSQL accounting and miner-snapshot tests cover exact amounts, canonical/orphan/duplicate-spend exclusions, selected-range sample boundaries and atomic rollback. A captured canonical replay removes20 artificial solrate gaps without changing fee/count/block-time averages. Testnet source/API/deployed-code checks verify the earlier release independently from browser hydration, which remains unverified.

Merge integration keeps future main releases from overwriting these fixes. Canonical cache migrations036/037 and the rustls patch are integrated separately through Kenbak/zecblock-rust#32. Existing immutable testnet workers/timers remain scoped to their active official-testnet database; the application deploy does not install new writers on standby or announce a mainnet NU7 activation schedule. Exact merge CI, deployments and native artifact provenance are verified as release gates.

@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zecblock Ready Ready Preview Oct 16, 2026 11:49am UTC
zecblock-crosslink Ready Ready Preview Oct 16, 2026 11:49am UTC
zecblock-testnet Ready Ready Preview Oct 16, 2026 11:49am UTC

Request Review

@Kenbak Kenbak changed the title Restore testnet miner receipt history and automatic repair Recover testnet NU7 accounting and mining charts Oct 16, 2026
@Kenbak
Kenbak marked this pull request as ready for review October 17, 2026 11:05
@Kenbak
Kenbak merged commit aaa391e into main Oct 17, 2026
30 checks passed

This branch was successfully deployed

4 active deployments
Production – zecblock-testnet — d5c9bf48 Deployed Oct 16, 2026 by vercel[bot]
Preview – zecblock-testnet — d5c9bf48 Deployed Oct 16, 2026 by vercel[bot]
Preview – zecblock-crosslink — d5c9bf48 Deployed Oct 16, 2026 by vercel[bot]
Preview – zecblock — d5c9bf48 Deployed Oct 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant