PoS mining requires this flag when the daemon has no peers. Without it, the daemon's get_pos_mining_details RPC returns DISCONNECTED status and the wallet refuses to mint. First PoS blocks minted on testnet at height 12,382. Co-Authored-By: Charon <charon@lethean.io>
52 lines
1.2 KiB
Bash
52 lines
1.2 KiB
Bash
# Lethean Testnet Configuration
|
|
# Copy to .env and customise before running:
|
|
# cp .env.example .env
|
|
# docker compose -f docker-compose.pull.yml up -d
|
|
|
|
# Public hostname (used by explorer and trade frontend)
|
|
PUBLIC_HOST=localhost
|
|
|
|
# Wallet password (empty = no password, change for production)
|
|
WALLET_PASSWORD=my-secure-pass
|
|
|
|
# Trade API JWT secret (CHANGE THIS for production)
|
|
JWT_SECRET=change-me-before-production
|
|
|
|
# Explorer database
|
|
EXPLORER_DB_USER=explorer
|
|
EXPLORER_DB_PASS=explorer
|
|
EXPLORER_DB_NAME=lethean_explorer
|
|
|
|
# Trade database
|
|
TRADE_DB_USER=trade
|
|
TRADE_DB_PASS=trade
|
|
TRADE_DB_NAME=lethean_trade
|
|
|
|
# Daemon log level (0=minimal, 1=normal, 2=detailed, 3=trace)
|
|
DAEMON_LOG_LEVEL=1
|
|
|
|
# Port overrides (defaults shown)
|
|
# DAEMON_RPC_PORT=46941
|
|
# DAEMON_P2P_PORT=46942
|
|
# WALLET_RPC_PORT=46944
|
|
# EXPLORER_PORT=3335
|
|
# TRADE_API_PORT=3336
|
|
# TRADE_FRONTEND_PORT=3338
|
|
# POOL_STRATUM_PORT=5555
|
|
# POOL_API_PORT=2117
|
|
# LNS_HTTP_PORT=5553
|
|
# LNS_DNS_PORT=5354
|
|
|
|
# === Exit Node Settings (docker-compose.exit.yml) ===
|
|
|
|
# Your public IP address (required for VPN exit node)
|
|
# EXIT_PUBLIC_IP=auto
|
|
|
|
# Exit node name (registered as on-chain alias)
|
|
# EXIT_NAME=my-exit-node
|
|
|
|
# Maximum VPN peers (WireGuard clients)
|
|
# EXIT_MAX_PEERS=25
|
|
|
|
# Timezone
|
|
# TZ=Europe/London
|