dgb-wallet/ops/_start-dgb.ps1
Digibyte.X d50286a9a5 DigiByte.X Wallet — recovery-first web wallet monorepo
Packages: core (BIP39/32/44/49/84/86 derivation, WIF), keystore (PBKDF2 +
AES-GCM), psbt, p2p (BIP157/158 SPV daemon, Dandelion++ broadcast with
relay-echo verification), blockbook, rpc, electrum, net, bns, web-ui
(React/Vite), mobile (Expo). ops/ holds the nginx vhost, systemd unit and
push.sh deploy script for digibyte.x/web.
2026-09-20 20:16:52 +02:00

19 lines
826 B
PowerShell

# Tiny launcher — starts digibyted.exe detached with the correct config.
# Used by the fix-pass in this session; setup-local.ps1 has the same
# logic inline for first-run installs.
param(
[string]$InstallDir = "D:\Program Files\DigiByte"
)
$exe = Join-Path $InstallDir "daemon\digibyted.exe"
$conf = Join-Path $InstallDir "digibyte.conf"
if (-not (Test-Path $exe)) { throw "not found: $exe" }
if (-not (Test-Path $conf)) { throw "not found: $conf" }
$proc = Start-Process -FilePath $exe -ArgumentList "-conf=`"$conf`"" -WindowStyle Hidden -PassThru
Start-Sleep -Seconds 4
$still = Get-Process -Id $proc.Id -ErrorAction SilentlyContinue
if ($still) {
Write-Host "Started digibyted.exe (PID $($proc.Id))."
} else {
throw "digibyted.exe exited immediately (PID $($proc.Id) is gone). Check the debug log tail."
}