diff --git a/docs/GNAI-000-DOC_Index.md b/docs/GNAI-000-DOC_Index.md index cbe559c..9b80d12 100644 --- a/docs/GNAI-000-DOC_Index.md +++ b/docs/GNAI-000-DOC_Index.md @@ -41,7 +41,7 @@ jeweiligen Fachdokumenten. Die priorisierte weitere Umsetzung beschreibt der | [CT 101 / GNAI-017](platform/proxmox-server/lxc/ct-101-samba/GNAI-017-PLAN_Samba-NFS-Export.md) | Samba-Dateiserver `10.0.0.9`: Aufnahme ins Repository, NFS-Export und Encoding-Shares | | [CT 101 / GNAI-018](platform/proxmox-server/lxc/ct-101-samba/GNAI-018-REQ_Encoding-Pipeline-Integration.md) | Requirements der Encoding-Pipeline an CT 101 — Übergabe an den Ansible-Rebuild | | [CT 101 / GNAI-019](platform/proxmox-server/lxc/ct-101-samba/GNAI-019-DEC_Ansible-Migration.md) | Entwurfsentscheidungen der CT-101-Ansible-Migration: natives Samba, NFS-Ganesha als Quadlet, Fresh-State-Rebuild | -| [CT 114 / GNAI-024](platform/proxmox-server/lxc/ct-114-litecoin-wallet/GNAI-024-PLAN_Litecoin-Wallet-LXC.md) | geplanter Litecoin-Wallet-LXC `ltc-node` (`10.0.0.61`): Prüfung der Research-Dokumente, Tor-only Cold Node, Ansible-Projekt und Provisioning — noch nicht angelegt (Plan 25.11.2026) | +| [CT 114 / GNAI-024](platform/proxmox-server/lxc/ct-114-litecoin-wallet/GNAI-024-PLAN_Litecoin-Wallet-LXC.md) | Litecoin-Wallet-LXC `ltc-node` (`10.0.0.61`): live seit 2026-11-27, Vollsync + Phase 0/1 PASS, PR #23 offen; Bedienung siehe [GNAI-024 HowTo](platform/proxmox-server/lxc/ct-114-litecoin-wallet/GNAI-024-HOWTO_Litecoin-Node-Bedienung.md) | ### KI und Deployment diff --git a/docs/platform/proxmox-server/lxc/ct-114-litecoin-wallet/GNAI-024-HOWTO_Litecoin-Node-Bedienung.md b/docs/platform/proxmox-server/lxc/ct-114-litecoin-wallet/GNAI-024-HOWTO_Litecoin-Node-Bedienung.md new file mode 100644 index 0000000..60ca86f --- /dev/null +++ b/docs/platform/proxmox-server/lxc/ct-114-litecoin-wallet/GNAI-024-HOWTO_Litecoin-Node-Bedienung.md @@ -0,0 +1,142 @@ +# GNAI-024 HowTo: Litecoin-Node CT 114 (`ltc-node`) bedienen + +Nachschlage-Anleitung für den Betreiber. **Keine Secrets** — Passphrasen, restic-Passwort +und Private Keys gehören ausschließlich in den Bitwarden/Vaultwarden, niemals in dieses +Repo, in Logs oder in Chat. + +- Node: CT 114 `ltc-node`, `10.0.0.61`, litecoind v0.21.5.8, Wallet `cold` (verschlüsselt) +- Plan/Hintergründe: [GNAI-024-PLAN_Litecoin-Wallet-LXC.md](GNAI-024-PLAN_Litecoin-Wallet-LXC.md) +- Alle Befehle mit `<...>`-Platzhaltern einsetzen; Passphrasen **immer via `-stdin`** + (nie als Kommandozeilen-Argument, sonst landet sie in Host-`ps`/Logs). + +## 1. Zugang — wer darf was + +| Zweck | Zugang | Beispiel | +|---|---|---| +| Read-only-Abfragen (Agent) | `ssh -F ~/.ssh/config ghostnet-ct114-agent 'sudo /usr/local/bin/ltc-readonly '` | `... ltc-readonly getbalance` | +| Wallet-Operationen (Betreiber) | als root@pve: `pct exec 114 -- sudo -u litecoin /opt/litecoin/bin/litecoin-cli -conf=/etc/litecoin/litecoin.conf ` | siehe unten | +| Admin/Logs (Betreiber) | `pct exec 114 -- systemctl status litecoind` / `journalctl -u litecoind -n 50` | | +| PVE-Side (Snapshots/Storage) | `ssh -F ~/.ssh/config ghostnet-pve-ansible-deploy 'sudo -n pct listsnapshot 114'` | | + +RPC läuft **nur auf 127.0.0.1:9332** mit Cookie-Auth und ist nur per SSH-Exec erreichbar — +kein Port-Forwarding (ist eh deaktiviert), kein Öffnen von 9332/9333 nach außen. + +## 2. Häufig genutzte Befehle + +### 2.1 Status (read-only, als Agent von der Workstation) + +```bash +R='ssh -F ~/.ssh/config ghostnet-ct114-agent sudo /usr/local/bin/ltc-readonly' +$R getblockchaininfo # Sync-Status (initialblockdownload, blocks, headers) +$R getblockcount # aktueller Block +$R getbalance # Guthaben (gelocktes Wallet reicht) +$R getwalletinfo # unlocked_until: 0 = gelockt +$R listtransactions # eigene Tx (nie öffentliche Explorer nutzen!) +$R getpeerinfo # Peers (alle outbound via Tor, 0 inbound) +$R getnetworkinfo # Netze: alle proxy=127.0.0.1:9050, localaddresses leer +``` + +### 2.2 Empfangsadresse erzeugen (frische Adresse pro Einzahlung!) + +```bash +pct exec 114 -- sudo -u litecoin /opt/litecoin/bin/litecoin-cli -conf=/etc/litecoin/litecoin.conf getnewaddress "