# Besu Configuration for ThirdWeb RPC Nodes
data-path="/data/besu"
genesis-file="/genesis/genesis.json"

network-id=138
p2p-host="0.0.0.0"
p2p-port=30303

sync-mode="FULL"
data-storage-format="FOREST"

rpc-http-enabled=true
rpc-http-host="0.0.0.0"
rpc-http-port=8545
rpc-http-api=["ETH","NET","WEB3","DEBUG","TRACE"]
rpc-http-cors-origins=["*"]

rpc-ws-enabled=true
rpc-ws-host="0.0.0.0"
rpc-ws-port=8546
rpc-ws-api=["ETH","NET","WEB3"]
rpc-ws-origins=["*"]

metrics-enabled=true
metrics-port=9545
metrics-host="0.0.0.0"
metrics-push-enabled=false

logging="WARN"

permissions-nodes-config-file-enabled=true
permissions-nodes-config-file="/permissions/permissions-nodes.toml"
permissions-accounts-config-file-enabled=false

# Transaction Pool (optimized for ThirdWeb transaction volume)

bootnodes=[]

static-nodes-file="/genesis/static-nodes.json"

discovery-enabled=true

# Gas Configuration (no fee cap for ThirdWeb compatibility)

max-peers=50

graphql-http-enabled=false

rpc-http-timeout=60
