docs: two installers write miner config to two different paths (/opt/rustchain-miner vs ~/.rustchain) with no cross-reference

Aperta
#8,407 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 10 giorni

@Cid-oe ci sta già lavorando.

Dal 19/9/2026.

  • #1 di @bhanub05 — aperta
  • #4 di @satoshinakamoto666666 — aperta
  • #8477 di @Cid-oe — aperta
  • #8631 di @btctony1 — chiusa senza merge
  • #8651 di @NevioCore — chiusa senza merge
  • #8658 di @flux-axiom — chiusa senza merge
  • #8713 di @dextermos-dev — aperta
  • #8745 di @dextermos-dev — aperta

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
25/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
markdown
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)

  1. docs/WALLET_SETUP.md:58 says "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 a wallet_id field." — no other path is mentioned anywhere in the guide.
  2. rustchain.org/install.sh:49 sets INSTALL_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 via curl -sL https://rustchain.org/install.sh | bash at line 43.)
  3. Repo setup.sh:20 sets INSTALL_DIR="$HOME/.rustchain" and writes $INSTALL_DIR/config.json (lines 271-283) → config lands at ~/.rustchain/config.json.
  4. Repo install-miner.sh:11 also sets INSTALL_DIR="$HOME/.rustchain".
  5. INSTALL.md consistently 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 require sudo cat)
  • repo setup.sh / install-miner.sh → ~/.rustchain/config.json

(Open PR #8406 already proposes this clarification.)

Lingua principale
Python
Stelle
850
Fork
589
Merge medio
11g 7h
PR unite (30g)
29

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Scottcjn/Rustchain

Tutte le issue di Scottcjn/Rustchain

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.