# Besu Configuration for Promoted Sentry Nodes
# Intended for the more featureful sentry lanes such as HYBX / Thirdweb sentries.
# Placeholder only: node-specific generated configs must advertise the real LAN IP.
# Do not deploy this base template as-is without substituting the real advertised host.
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","ADMIN","PERSONAL","MINER","DEBUG"]
rpc-http-cors-origins=["*"]
rpc-http-api-enable-unsafe-txsigning=true

rpc-ws-enabled=true
rpc-ws-host="0.0.0.0"
rpc-ws-port=8546
rpc-ws-api=["ETH","NET","WEB3","ADMIN","PERSONAL","MINER","DEBUG"]

graphql-http-enabled=true
graphql-http-host="0.0.0.0"
graphql-http-port=8547

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

logging="INFO"
log-destination="CONSOLE"

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

tx-pool-max-future-by-sender=1

bootnodes=[]
static-nodes-file="/var/lib/besu/static-nodes.json"

discovery-enabled=true
max-peers=40
