@echo off rem Igneum devnet node for Windows. 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 Mac rem node. The window shows one status line every 30 seconds; the node's own output goes to node-.log next to rem this file. Stop with Ctrl+C; the window stays open at the end. rem ---- settings: edit these lines only ---------------------------------------------------------- rem The Mac node (its p2p port). This node dials it at start and keeps retrying; the Mac can dial back as well. 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 Mac node 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. set "APPDIR=%LOCALAPPDATA%\igneum\devnet" rem 1 = hand out block templates before this node is synced (the Mac node runs like this because it mines alone). rem 0 = the miners wait until this node has caught up with the Mac. set "UNSYNCED_MINING=0" rem Seconds between status lines. set "STATUS_SECS=30" rem Anything else to pass to igneumd (for example --loglevel=debug). set "EXTRA_ARGS=" 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 yet. Run BUILD-NODE.bat first ^(it builds the node from the source in src.zip^). 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