igneum/proto-cuda/windows-app
igneum-labs faaea2fa74 Windows app: node and miners in one window, NODE card on the dashboard
proto-cuda/windows-app/: START-IGNEUM.bat starts igneumd, waits for sync, then runs the
miners; igneum-common.ps1 holds the dashboard, node, chain reader and miner functions once,
dot-sourced by start-igneum.ps1, start-mining.ps1 and start-node.ps1. STOP-IGNEUM.bat stops
everything in order. make-package.sh builds igneum-windows.zip.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-03 21:19:22 +00:00
..
ALLOW-FIREWALL.bat Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
allow-firewall.ps1 Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
igneum-common.ps1 Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
make-package.sh Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
README.txt Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
START-IGNEUM.bat Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
start-igneum.ps1 Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
START-MINING.bat Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
start-mining.ps1 Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
START-NODE.bat Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
start-node.ps1 Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
STOP-IGNEUM.bat Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
stop-igneum.ps1 Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00
upload-log.bat Windows app: node and miners in one window, NODE card on the dashboard 2026-10-03 21:19:22 +00:00

Igneum devnet for Windows: the node and the miners in one window. Extract the whole zip to a short path such as C:\igneum first.
1. START-IGNEUM.bat. It starts igneumd (database under %LOCALAPPDATA%\igneum\devnet, RPC 127.0.0.1:26610, p2p 0.0.0.0:26611, peered to the Mac at 192.168.68.64:26611), waits until the node is synced, then finds the GPUs, builds the CUDA and OpenCL workers on the first run (CUDA Toolkit 12.8 or newer plus Visual Studio with the MSVC v143 x64 component) and starts MINERS=8 miner identities per GPU vendor against the node on this PC. Settings are at the top of the bat.
   Firewall: the first time, Windows Defender Firewall asks about igneumd.exe. Tick Private networks and click Allow access (that lets the Mac node dial this PC). If you clicked Cancel, run ALLOW-FIREWALL.bat once.
2. The window is a dashboard, redrawn every 2 s: the NODE card first (state in colour: starting, syncing, synced, restarting, stopped; blocks, headers, blue score, peers, the chain's blocks per second, the difficulty direction, the node's uptime), then one card per GPU (hash rate in big digits, blocks found, one cell per miner), the network share line, the last events (node started, synced in N s, peer joined or left, node restarted, blocks found, hourly program rebuilt, miner restarted, upload failed) and a footer. Set PLAIN=1 at the top of the bat for a scrolling log instead; the launcher uses it by itself when the window is not a real console.
3. Ctrl+C in the window stops the miners first, then the node, then uploads the logs one last time; the window stays open with a summary. If the window was closed instead, STOP-IGNEUM.bat stops everything cleanly.
A node crash is restarted after a random 5 to 60 s; the miners are restarted once the node is back and synced (their connection dies with the node). Every hour the program changes: the miners exit with code 42, the launcher re-exports the pack, rebuilds the worker and restarts them. The PC is held awake while the window runs; for the night also set Sleep to Never in Settings > System > Power.
Logs land next to the bat (igneum-<stamp>.log for the launcher, node-<stamp>.log for the node, nvidia-<i>-<stamp>.log and amd-<i>-<stamp>.log per miner) and are uploaded every 60 s with upload-log.bat under the labels igneum-<PC>, nodelog-<PC>, nvidia-<PC>-<i>, amd-<PC>-<i>.
Separate entry points, same code (igneum-common.ps1): START-NODE.bat runs the node alone (its card and events), START-MINING.bat runs the miners alone against a node that is already up (NODE_HOST=auto picks 127.0.0.1 when one runs here, else the Mac).
If the node exits at once with a database error (an older build's database), delete %LOCALAPPDATA%\igneum\devnet and start again; it resyncs from the Mac in seconds.
Files: START-IGNEUM.bat, START-NODE.bat, START-MINING.bat, STOP-IGNEUM.bat, ALLOW-FIREWALL.bat and their .ps1 files, igneum-common.ps1, igneumd.exe with libstdc++-6.dll, libgcc_s_seh-1.dll and libwinpthread-1.dll (keep them next to it), igneum-miner.exe, upload-log.bat, proto-cuda\ and proto-opencl\ (the worker sources and build.bat).