Common BNB Chain Start up Flags
-
Docker Full Node with validator option, open websockets, open HTTP JSON RPC, metrics, Influx DB, very vunerable, mostly to test things in a lab on testnet.
docker run -d --name myBSCNode --network=myNetwork -p 8575:8575 -p 3335:3335 -p 6060:6060 -v /home/andremosin/bscnode:/bsc/node -v /home/andremosin/config:/bsc/config ghcr.io/bnb-chain/bsc:1.1.18_hf --cache 4000 --http --http.addr 0.0.0.0 --syncmode snap -unlock 0x18541766BE8dc9d53D76846EBf6B8b17620Ba0cd --password /bsc/config/accounts/password.txt --mine --allow-insecure-unlock --metrics --metrics.influxdb --metrics.influxdb.endpoint "http://influxdb:8086" --metrics.influxdb.username "geth" --metrics.influxdb.password "aq1sw2de3" --ws.port 3335 --ws.addr 0.0.0.0 --ws --ws.api eth,net,web3 --ws.origins "*" --rpc.allow-unprotected-txs
Full Archive node from Genesis (needs 40+TB)
sample cmd:
./geth --config local_config_dir/config.toml --datadir local_data_dir --pprof.addr 0.0.0.0 --rpc.allow-unprotected-txs --rpccorsdomain * --light.serve 50 --cache 5000 --metrics --snapshot=true --rangelimit --gcmode archive --txlookuplimit 0 --syncmode full --pprof