Installation
Read this before provisioning a server
Windpay's peer-to-peer network is currently closed. As of 2026-10-22, you cannot sync a Windpay node from outside the operator's infrastructure.
Every production node runs with --nodiscover — peer discovery is switched off — and peers are configured explicitly as static nodes on a private network. No node publishes its P2P port (30303) to the public internet, and no bootnode or public enode has been published.
This is a deliberate configuration, not an oversight or a temporary outage. Until the network publishes peering details, a node started outside that infrastructure will start cleanly, find no peers, and never sync a block.
If you need chain access today, use the public endpoint — https://rpc.windpay.org/rpc. See RPC endpoints.
If you need your own node, contact the Windpay team. Running one requires an enode to peer with and a firewall opening on their side. Neither can be derived from public information.
The rest of this page documents how Windpay's own nodes are run, for operators who have been given peering access and for anyone who wants to understand the setup.
What runs
A single Docker image, the same for every role:
windpay/node:mainnet-dpos-rc5It is a bsc-geth build. Role differences are entirely in the command-line flags — see Node types.
What a node needs on disk
| Mount | Purpose |
|---|---|
/data | Chain data. A named volume — losing it means re-syncing. |
/genesis.json | The genesis file, read-only. Must be byte-identical to the network's. |
/config/node.toml | Static peer list. Read-only. |
/data/keystore | Consensus key. Sealers only. |
/data/bls | BLS vote key. Sealers only. |
The genesis file must match exactly
A node whose genesis differs from the network's — even by whitespace that changes a hash — computes a different chain ID or state root and will reject every block it is offered. The symptom is a node that connects to peers and syncs nothing.
Windpay's is genesis-dpos-fork.json. Obtain it from the operator; do not reconstruct it.
An RPC node, as actually configured
This is the real flag set from the production rpc1, with the gas values substituted in:
services:
rpc:
image: windpay/node:mainnet-dpos-rc5
restart: unless-stopped
stop_grace_period: 2m
volumes:
- windpay-rpc:/data
- ./genesis-dpos-fork.json:/genesis.json:ro
- ./config.toml:/config/rpc.toml:ro
mem_limit: 1200m
mem_reservation: 256m
ports:
- "127.0.0.1:8545:8545" # loopback only — never 0.0.0.0
- "127.0.0.1:8546:8546"
command:
- --datadir=/data
- --networkid=5552020
- --config=/config/rpc.toml
- --nodiscover
- --maxpeers=25
- --syncmode=full
- --cache=256
- --ipcpath=/data/geth.ipc
- --http
- --http.addr=0.0.0.0
- --http.port=8545
- --http.api=eth,net,web3,parlia,txpool
- --http.vhosts=*
- --ws
- --ws.addr=0.0.0.0
- --ws.port=8546
- --ws.api=eth,net,web3,parlia,txpool
- --ws.origins=*
- --miner.gasprice=476190476191
- --txpool.pricelimit=476190476191
- --rpc.txfeecap=1000
- --gpo.maxprice=1000000000000
- --txpool.nolocals
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=6060
- --verbosity=3
healthcheck:
test: ["CMD-SHELL", "geth attach --exec 'eth.blockNumber' /data/geth.ipc > /dev/null 2>&1 || exit 1"]
interval: 15s
timeout: 10s
retries: 5
start_period: 40s
volumes:
windpay-rpc:Two flags matter more than they look:
--txpool.pricelimit=476190476191— without it the node accepts underpriced transactions into its own pool that every other node rejects.--http.addr=0.0.0.0with a127.0.0.1:port binding — the listener binds inside the container; Docker exposes it only on loopback. Binding the host side to0.0.0.0puts an unauthenticated RPC endpoint on the public internet.
The static peer list
With discovery off, peers come from a config file:
# config.toml
[Node.P2P]
StaticNodes = [
"enode://<peer-key>@<host>:30303",
]
TrustedNodes = [
"enode://<peer-key>@<host>:30303",
]Windpay's own nodes list all three sealers here, so losing any one does not isolate an RPC node. The enodes themselves are not public — this is the piece you must be given.
Starting it
docker compose up -d
docker compose logs -f rpcChecking it is healthy
# Is it following the head?
docker exec <container> geth attach --exec "eth.blockNumber" /data/geth.ipc
# Compare against the public endpoint
curl -s -X POST https://rpc.windpay.org/rpc \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'A healthy node is within a block or two of the public endpoint and advancing every three seconds. A node reporting a block number that never changes has no usable peers — the expected outcome without peering access.
docker exec <container> geth attach --exec "admin.peers.length" /data/geth.ipcZero peers is the diagnosis for almost every "it won't sync" report.
Pass geth JS as a single line
geth attach --exec splits its argument on whitespace. A multi-line script, or one containing // comments, fails with invalid command-line: too many arguments. Keep it to one line.
Running a validator
A sealer additionally mounts a keystore and a BLS key and runs with --mine, --unlock, --vote and --miner.etherbase set to its consensus address. It runs no HTTP or WS listener.
Do not register a validator until the node is synced and stable — registration starts the clock on downtime penalties. See Becoming a validator.
Next step
Configuration — what each flag does and which ones are dangerous.
Verified 2026-10-22. The closed-peering statement was confirmed three ways on the chain host: --nodiscover appears on all six node services in /opt/windpay/docker-compose.prod.yml; docker ps shows no node publishing 30303 to the host; and ss -lntup shows nothing listening on 30303. Peers are configured as StaticNodes/TrustedNodes in prod/rpc/config.toml, all on the private 172.28.0.0 Docker network. The compose block above is the production rpc1 definition with ${WINDPAY_MIN_GAS_PRICE}, ${WINDPAY_TX_FEE_CAP} and ${WINDPAY_GPO_MAX_PRICE} replaced by their values from /opt/windpay/.env.

