igneum/proto-cuda/windows-app/START-NODE.bat
igneum-labs 38380d9035 Release: devnet v4 cut-over staged (Windows 0.2.0 packages, Mac app 0.2.0, seed igneumd-v4 unit, runbook)
Windows combined package 0.2.0 (proto-cuda/windows-app): v4 exes from target-integration, peers = seed then Mac,
fresh appdir devnet-v4, one miner and one worker per card with --identities 8, --evm-address (PAYOUT_EVM or derived
per vendor from the PC name), voting on (VOTE=0 opts out), --prepare-packs for the hot swap with --exit-on-seed-change
as the fallback, --yes on the node, STATUS regex tolerant of the v4 now= segment, version in the dashboard header.
Mac app 0.2.0 (packaging/mac): v4 binaries, Metal worker rebuilt for macOS 11, data folder devnet-v4, EVM payout,
identities in one process, synced= flag honoured. Seed (infra/seed-nodes): stage-v4.sh builds v4 on the VM as a
niced, memory-capped transient service and installs a disabled igneumd-v4 unit with a fresh data dir; switch-v4.sh
swaps the units (--back reverses); health.sh reports active-v4. Runbook: docs/plans/cutover-2026-10-04.md.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 01:48:56 +00:00

48 lines
2.6 KiB
Batchfile

@echo off
rem Igneum devnet v4 node for Windows (package 0.2.0), the node only. Double-click this file.
rem Runs igneumd.exe (the Igneum node) on this PC: the miners mine against it on localhost and it peers with the seed
rem node and the Mac. The window shows the NODE card; the node's own output goes to node-<stamp>.log next to this file.
rem Stop with Ctrl+C; the window stays open at the end. START-IGNEUM.bat runs the node and the miners together instead.
rem Devnet v4 is a new chain from genesis (4 October 2026): the database lives in igneum\devnet-v4, the old one is left alone.
rem ---- settings: edit these lines only ----------------------------------------------------------
rem The peers this node dials at start and keeps retrying (--addpeer, comma separated): the seed node first, then the Mac.
set "PEER_NODES=188.245.5.161:26611,192.168.68.64:26611"
rem The Mac node (its p2p port), for the reachability line.
set "MAC_NODE=192.168.68.64:26611"
rem gRPC for the miners on this PC (START-MINING.bat with NODE_HOST=auto looks here first).
set "RPC_LISTEN=127.0.0.1:26610"
rem p2p on all interfaces, so the other nodes can connect in. Windows Firewall asks once: tick Private networks, Allow access.
set "P2P_LISTEN=0.0.0.0:26611"
rem Where the chain database lives. devnet-v4 is a fresh folder: the v3 database in igneum\devnet is not touched.
set "APPDIR=%LOCALAPPDATA%\igneum\devnet-v4"
rem 1 = hand out block templates before this node is synced. 0 = the miners wait until this node has caught up.
set "UNSYNCED_MINING=0"
rem Anything else to pass to igneumd (for example --loglevel=debug, or --override-params-file=C:\igneum\override.json).
rem The execution layer starts with the node (Ethereum JSON-RPC on 127.0.0.1:26790); --evm-disable turns it off.
set "EXTRA_ARGS="
rem Set PLAIN=1 for a scrolling log instead of the dashboard.
set "PLAIN=0"
rem -------------------------------------------------------------------------------------------------
cd /d "%~dp0"
if not exist "%~dp0start-node.ps1" (
echo Please extract the whole zip first ^(right-click, Extract All^), then run START-NODE.bat from the extracted folder.
pause
exit /b 1
)
if not exist "%~dp0igneumd.exe" (
echo igneumd.exe is not in this folder. Extract the whole zip ^(the node exe ships prebuilt^) and run again.
pause
exit /b 1
)
where powershell >nul 2>nul
if errorlevel 1 (
echo PowerShell was not found. Windows 10 and 11 ship it; nothing else can be done here.
pause
exit /b 1
)
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0start-node.ps1"
echo.
echo The node has stopped. The logs are next to this file.
pause