Skip to content

docs: add mining hardware requirements - #5489

Merged
Scottcjn merged 1 commit into
Scottcjn:mainfrom
galanime:codex/mining-hardware-requirements-2380
May 18, 2026
Merged

Scottcjn merged 1 commit into
Scottcjn:mainfrom
galanime:codex/mining-hardware-requirements-2380

Conversation

@galanime

Copy link
Copy Markdown
Contributor

Summary

  • Add a dedicated Hardware Requirements section to the mining guide.
  • Document minimum CPU/Python, RAM, disk, network, and tool expectations for Proof-of-Antiquity mining.
  • Point readers to INSTALL.md and CPU_ANTIQUITY_SYSTEM.md for deeper setup and architecture validation details.

Validation

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/XS PR: 1-10 lines labels May 16, 2026
@galanime

Copy link
Copy Markdown
Contributor Author

CI note: the repository-wide test check is currently failing during collection before executing tests because the runner is missing optional dependencies (aiohttp, flask_cors, matplotlib). This PR only changes docs/MINING_GUIDE.md and the local doc validators for this change passed:

  • git diff --check -- docs\MINING_GUIDE.md
  • link targets verified: INSTALL.md and CPU_ANTIQUITY_SYSTEM.md

The failing imports are outside the changed documentation path.

@ZacharyZhang-NY ZacharyZhang-NY left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed PR #5489 at head $commit.

Blocking finding:

Issue #2380 asks for minimum CPU/RAM specifications so new miners can decide whether their machines can mine. The new Hardware Requirements section covers Python/CPU, disk, network, tools, and supported architectures, but the memory entry remains qualitative: �nough RAM to create a Python virtual environment and run the miner process. That still leaves the RAM requirement unresolved for the exact user decision the issue asks this section to answer.

Please add a concrete minimum RAM baseline or a low-memory guidance statement backed by the current miner/install behavior. After that, this section should satisfy the issue scope.

Validation performed:

  • git fetch origin pull/5489/head:review-pr-5489 --force
  • git diff --check origin/main...review-pr-5489 -- docs/MINING_GUIDE.md -> passed.
  • Confirmed the linked targets exist on the PR head: INSTALL.md, CPU_ANTIQUITY_SYSTEM.md, and docs/MINING_GUIDE.md.
  • Checked issue #2380 text and current docs references for existing Python/disk/resource requirements.

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kekehanshujun kekehanshujun left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. I reviewed the mining hardware requirements documentation addition and did not find a blocking issue.

Validation performed:

  • gh pr view 5489 --repo Scottcjn/Rustchain --json number,title,author,headRefOid,baseRefName,body,files,url,reviewDecision
  • gh pr diff 5489 --repo Scottcjn/Rustchain
  • Test-Path INSTALL.md; Test-Path CPU_ANTIQUITY_SYSTEM.md; Test-Path docs\MINING_GUIDE.md
  • rg "ppc64le|aarch64|mips|sparc|m68k|riscv64|s390x|ARM NAS|penalty multiplier|1 billionth|Python 3\.8" docs INSTALL.md CPU_ANTIQUITY_SYSTEM.md miners node -n
  • curl.exe -L -s -o NUL -w "rustchain.org %{http_code}\n" https://rustchain.org/health -> 200

The linked setup/architecture docs exist, and the new requirements align with the existing mining guide, installer docs, and CPU antiquity model.

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@TJCurnutte TJCurnutte left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed PR #5489 at head 30d07eabb12fc950dec33063563f91d08c1eecdc.

This is a docs-only addition to docs/MINING_GUIDE.md. The new Hardware Requirements section fits the existing Proof-of-Antiquity framing: it emphasizes identifiable real hardware, no GPU requirement, enough local resources for the Python miner, outbound access to rustchain.org, and points readers back to the install and CPU antiquity docs. The supported-family paragraph also stays aligned with the guide's existing Supported Platforms list.

Validation I ran on the PR checkout:

git diff --check origin/main...HEAD -- docs/MINING_GUIDE.md
python3 -B - <<'PY'
from pathlib import Path
p = Path('docs/MINING_GUIDE.md')
text = p.read_text()
assert '## Hardware Requirements' in text
assert '[INSTALL.md](../INSTALL.md)' in text and Path('INSTALL.md').exists()
assert '[CPU_ANTIQUITY_SYSTEM.md](../CPU_ANTIQUITY_SYSTEM.md)' in text and Path('CPU_ANTIQUITY_SYSTEM.md').exists()
assert 'Linux (x86_64, ppc64le, aarch64, mips, sparc, m68k, riscv64, ia64, s390x), macOS (Intel, Apple Silicon, PowerPC), IBM POWER8, Windows, Mac OS X Tiger/Leopard, Raspberry Pi.' in text
assert 'Python 3.8' in text
print('docs hardware requirements section, relative links, and supported-platform alignment OK')
PY

No code paths are touched. The docs links resolve in-tree and the new requirements language is consistent with the existing mining guide, so this looks ready to merge.

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Scottcjn
Scottcjn merged commit 93f7ec8 into Scottcjn:main May 18, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/XS PR: 1-10 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants