@echo off
setlocal
cd /d "%~dp0"
title Veld Miner

if not exist "veld-data" mkdir veld-data
taskkill /F /IM veld-node.exe /T >/dev/null 2>&1
timeout /t 1 /nobreak >/dev/null

"%~dp0bin\veld-node.exe" --mine --datadir "%~dp0veld-data" --connect node1.veld.network:8333 --connect node2.veld.network:8333 --connect node3.veld.network:8333

echo.
echo Mining stopped.
pause
endlocal
