mirror of
https://github.com/Such-Software/xmrcheckout.git
synced 2026-12-01 12:14:11 +01:00
fix(daemon): require an operator daemon and refuse plain http to a public node
Every shipped default pointed payment detection at a third-party daemon over plain http. Whoever ran it, or anyone on the path, could fake transfers or confirmations. MONERO_DAEMON_URL is now required with no default. The API and reconciler refuse to start with a plain-http daemon on a public host; private, loopback and local names stay allowed, and remote daemons must use https. The example and README point at an operator-run node.
This commit is contained in:
+6
-4
@@ -25,10 +25,12 @@ MONERO_WALLET_RPC_PASSWORD=
|
||||
MONERO_WALLET_RPC_WALLET_PASSWORD=
|
||||
MONERO_WALLET_RPC_WALLET_DIR=/wallets
|
||||
|
||||
# Monero daemon
|
||||
# - Default: uses a third-party daemon (low setup, external dependency)
|
||||
# - Local: run the bundled `monerod` service and set MONERO_DAEMON_URL=http://monerod:18081
|
||||
MONERO_DAEMON_URL=http://xmr-node.cakewallet.com:18081
|
||||
# Monero daemon (required). Payment detection trusts this daemon, so use one you
|
||||
# operate: the bundled `monerod` service (http://monerod:18081 with the
|
||||
# local-daemon profile) or your own node on a private network. A plain-http
|
||||
# daemon on a public host is refused at startup, because whoever runs it, or
|
||||
# sits on the path, could fake payments. Use https for a remote daemon.
|
||||
MONERO_DAEMON_URL=http://monerod:18081
|
||||
|
||||
# Admin panel (generate with: openssl rand -base64 32 | tr -d '=' | head -c 32)
|
||||
ADMIN_API_KEY=
|
||||
|
||||
Reference in New Issue
Block a user