git / moonbite-network / release/miner/Mine-MoonBite.bat · raw

@echo off
title MoonBite Miner
cd /d "%~dp0"
echo ======================================================================
echo  MoonBite solo miner
echo  Starting your node and mining now. This window IS the miner -
echo  closing it stops mining. Leave it open.
echo  Nothing is installed, nothing runs at startup, nothing is downloaded.
echo ======================================================================
echo.
REM -ExecutionPolicy Bypass applies to this one PowerShell process only: it
REM lets mine.ps1, which sits next to this file, run on PCs whose default
REM policy blocks every script, and changes no setting on the PC. See the
REM 2026-10-15 amendment in docs/ADR-013-miner-distribution-policy.md.
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0mine.ps1" %*
echo.
echo ======================================================================
echo  The miner stopped. If that was not on purpose, read any error above.
echo ======================================================================
pause