docs: two installers write miner config to two different paths (/opt/rustchain-miner vs ~/.rustchain) with no cross-reference
Maintainers usually reply within 10 days
@Cid-oe is already working on this.
Since Sep 19, 2026.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- markdown
- Domain
- documentation
Research direction
Read docs/WALLET_SETUP.md alongside INSTALL.md, setup.sh, and install-miner.sh to confirm which installer writes each config path. Update the wallet setup guide to document both paths and their corresponding installers, then verify the instructions match the installer behavior. A linked pull request (#8477) is already open for this clarification.
Written by the indexing model from the issue text.
Description
Summary
docs/WALLET_SETUP.md tells newcomers to read the miner config at /opt/rustchain-miner/config.json, but that path only exists when RustChain was installed via rustchain.org/install.sh. The repo's own installers (setup.sh, install-miner.sh) and its INSTALL.md write the same config to ~/.rustchain/config.json instead. WALLET_SETUP.md documents only the /opt path with no cross-reference to the repo-installer path, so a newcomer who installs from this repo and then follows the wallet-setup guide runs cat /opt/rustchain-miner/config.json and gets ENOENT (or a permission error), never finding their wallet_id.
Evidence (current main)
docs/WALLET_SETUP.md:58says "On Linux, the installer saves the miner config here:" and line 61 instructs:
cat /opt/rustchain-miner/config.json
followed directly (line 64) by "You should see awallet_idfield." — no other path is mentioned anywhere in the guide.rustchain.org/install.sh:49setsINSTALL_DIR="/opt/rustchain-miner"and writes${INSTALL_DIR}/config.json→ config lands at/opt/rustchain-miner/config.json. (Consistent with WALLET_SETUP.md, which also installs viacurl -sL https://rustchain.org/install.sh | bashat line 43.)- Repo
setup.sh:20setsINSTALL_DIR="$HOME/.rustchain"and writes$INSTALL_DIR/config.json(lines 271-283) → config lands at~/.rustchain/config.json. - Repo
install-miner.sh:11also setsINSTALL_DIR="$HOME/.rustchain". INSTALL.mdconsistently documents the~/.rustchain/layout (lines 14, 81-90).
Verified: curl -sL https://rustchain.org/install.sh (INSTALL_DIR at line 49), grep INSTALL_DIR setup.sh install-miner.sh.
Impact
A newcomer who installs via the repo GitHub flow (setup.sh / install-miner.sh / INSTALL.md) and then follows WALLET_SETUP.md to locate their wallet runs cat /opt/rustchain-miner/config.json against a path that does not exist → No such file or directory (or root-only permission error). They cannot find their wallet_id, which the mining rewards flow requires. Two documented installers disagree on config location with zero cross-reference — real first-run friction.
Suggested fix
In docs/WALLET_SETUP.md, state both paths and which installer produces each, e.g.:
rustchain.org/install.sh→/opt/rustchain-miner/config.json(may requiresudo cat)- repo
setup.sh/install-miner.sh→~/.rustchain/config.json
(Open PR #8406 already proposes this clarification.)
- Dominant language
- Python
- Stars
- 850
- Forks
- 589
- Avg merge
- 11d 7h
- Merged PRs (30d)
- 29
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Scottcjn/Rustchain
-
utxo_ledger (reference): failed apply_transaction leaks already-created outputs (supply inflation)Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 10 days
-
SDK CLI prints 0 RTC for canonical /wallet/balance responsesPossibly taken @ArtyormSatori claimed this 37 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Scottcjn/Rustchain#8580 · 4 comments ·
Maintainers usually reply within 10 days
-
utxo_ledger (reference): no coinbase authorization; mempool admits any input-less MINING_REWARDOpen
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Maintainers usually reply within 10 days
-
[SECURITY] Non-finite and garbage weights pass the sybil-guard money chain — enrollment_weight has no isfinite guard and epoch_weight_to_units raises on NaN/infPossibly taken @thinhnx128 claimed this 28 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Scottcjn/Rustchain#8619 · 2 comments ·
Maintainers usually reply within 10 days
-
[Antiquity] Celeron M (Banias/Dothan, 2004) has no brand rule — real vintage silicon falls to x86 default 1.0x while its Pentium M twin earns 1.9xPossibly taken @Limm-web claimed this 60 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Scottcjn/Rustchain#8578 · 5 comments ·
Maintainers usually reply within 10 days
All issues in Scottcjn/Rustchain
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
daniel-ospina/tortoise#15308 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
difficulty:easy prio:low type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NatronGitHub/Natron#2405 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Jstar269/nakagawa-recomp#3746 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day