Make mining a verified one-command path - #14
Open
adamtpang wants to merge 1 commit into
Open
Conversation
Pin one supported Planck node and miner pair in a machine-readable compatibility manifest. Verify release checksums before installation, keep wallet recovery input local, add clear status and restart checks, and publish direct desktop preview downloads with platform verification commands. Add automated compatibility, checksum, redaction, command, and documentation tests.
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.
Overview
Replace the current multi-decision mining setup with one verified Planck testnet route. A first-time user downloads the installer, verifies its checksum, runs
./quantus-mining.sh mine, enters the wallet recovery phrase only into a hidden local prompt, and receives one status contract.This change does not claim mainnet support, a launch date, monetary rewards, or unpublished platform support.
Before and after
latestreleasesv0.10.0, minerv4.0.2, protocolquantus-miner/2statusreports network, pair, node, sync, miner, hash rate, reward address, telemetry, and recovery actionrestart-checkstops, restarts, and verifies both processesWhat changed
static/mining-compatibility.jsonas the single supported Planck release manifest.mine,status, andrestart-checkthe primary installer commands.Validation
bun run typecheckbun test: 13 tests, 103 assertions, 0 failuresbun run buildbash -n static/scripts/quantus-mining.shgit diff --checkThe build completes with the repository's existing stale Browserslist-data warning and the existing
vscode-languageserver-typesdynamic-require warning.Owner facts before merge
v0.10.0plusv4.0.2as the supported pair. The current evidence is the official minerv4.0.0release note requiring nodev0.10.0+.not-publishedinstead of inventing values.--rewards-inner-hashonly as a process argument. This patch protects the value at rest with owner-only permissions, but it remains visible to local process inspection while the node runs. A follow-up chain change should add--rewards-inner-hash-fileor an equivalent secret-input mechanism.miner-v0.6.1independently downloads the latest chain and miner releases and does not verify them. It remains a preview until it consumes the shared manifest and verifies every runtime download.Scope
This PR changes documentation, static release metadata, the existing installer, Copy Context, and tests. It does not merge, deploy, publish a release, run a real wallet, or change chain or miner binaries.