-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun-production.bat
More file actions
34 lines (28 loc) · 818 Bytes
/
run-production.bat
File metadata and controls
34 lines (28 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
REM QNet Production Launch Script with Quantum-Resistant Cryptography
echo ========================================
echo QNet Production Launch
echo Full Quantum Protection Enabled
echo ========================================
echo.
echo [OK] CRYSTALS-Dilithium: ENABLED
echo [OK] Hybrid Cryptography: ENABLED
echo [OK] Certificate Caching: ENABLED
echo.
echo Building with production features...
cargo build --release --features "production"
if %ERRORLEVEL% EQU 0 (
echo.
echo [OK] Build successful!
echo.
echo Starting QNet with quantum-resistant consensus...
echo.
REM Set production environment variables
set QNET_USE_HYBRID_CRYPTO=true
set RUST_LOG=info
target\release\qnet-node.exe
) else (
echo.
echo [ERROR] Build failed!
exit /b 1
)