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.
42 lines
1.2 KiB
Text
42 lines
1.2 KiB
Text
# DigiByte Core — pruned chain-state indexer for wallet backend.
|
|
# Deployed by ops/setup.sh; edit that script rather than this file.
|
|
|
|
# --- Storage ---
|
|
datadir=/var/lib/digibyte
|
|
prune=550 # minimum; keeps ~600 MB of recent chain
|
|
txindex=0 # no historical tx index needed; wallet uses scantxoutset
|
|
|
|
# --- Wallet: DISABLED ---
|
|
disablewallet=1 # node holds no keys; RPC compromise cannot spend funds
|
|
|
|
# --- RPC (bound to localhost, Caddy proxies) ---
|
|
server=1
|
|
rpcbind=127.0.0.1
|
|
rpcallowip=127.0.0.1
|
|
rpcport=14022
|
|
rpcuser=__RPC_USER__ # substituted by setup.sh
|
|
rpcpassword=__RPC_PASSWORD__ # substituted by setup.sh (40-char random)
|
|
|
|
# Increase worker threads a bit — scantxoutset is single-request but multiple
|
|
# clients may query concurrently.
|
|
rpcworkqueue=64
|
|
rpcthreads=8
|
|
|
|
# --- P2P ---
|
|
listen=1
|
|
maxconnections=40
|
|
port=12024
|
|
|
|
# --- Perf / safety ---
|
|
dbcache=450 # LevelDB cache; comfortable on 1 GB RAM
|
|
maxmempool=100
|
|
mempoolexpiry=72
|
|
|
|
# --- Logging (keep small; journalctl captures) ---
|
|
debug=0
|
|
logtimestamps=1
|
|
logips=0
|
|
|
|
# --- ZMQ (optional; enables future notify path for real-time balance updates) ---
|
|
# zmqpubhashblock=tcp://127.0.0.1:28332
|
|
# zmqpubrawtx=tcp://127.0.0.1:28333
|