71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"PolkadotValidator": {
|
|
"base_path": "/var/lib/polkadot/data",
|
|
"bin_path": "/usr/local/bin/polkadot",
|
|
"config_path": "/etc/polkadot",
|
|
"db_cache": 2048,
|
|
"execution": "wasm",
|
|
"keystore_path": "/var/lib/polkadot/keystore",
|
|
"log_level": "info",
|
|
"log_targets": [
|
|
"runtime::system"
|
|
],
|
|
"monitoring": {
|
|
"enabled": true,
|
|
"prometheus_bind_addr": "127.0.0.1",
|
|
"prometheus_port": 9615,
|
|
"telemetry_enabled": true,
|
|
"telemetry_url": "wss://telemetry.polkadot.io/submit/",
|
|
"telemetry_verbosity": 0
|
|
},
|
|
"name": "polkadot-validator",
|
|
"network": {
|
|
"bootnodes": [],
|
|
"chain": "polkadot",
|
|
"listen_addr": "/ip4/0.0.0.0/tcp/30333",
|
|
"max_peers": 50,
|
|
"max_peers_light": 100,
|
|
"node_key_file": "/var/lib/polkadot/node-key",
|
|
"reserved_nodes": [],
|
|
"reserved_only": false
|
|
},
|
|
"pruning": 1000,
|
|
"rpc": {
|
|
"bind_addr": "127.0.0.1",
|
|
"cors": [],
|
|
"enabled": true,
|
|
"http_port": 9933,
|
|
"max_connections": 10,
|
|
"methods": [
|
|
"safe"
|
|
],
|
|
"port": 9944,
|
|
"ws_port": 9944
|
|
},
|
|
"run_user": {
|
|
"group": "polkadot",
|
|
"name": "polkadot"
|
|
},
|
|
"security": {
|
|
"allowed_ssh_ips": [],
|
|
"auto_updates": true,
|
|
"backup_keys": true,
|
|
"enable_firewall": true,
|
|
"fail2ban_enabled": true,
|
|
"secure_keystore": true
|
|
},
|
|
"session_keys": {
|
|
"auto_rotate": false,
|
|
"keys_file": "/var/lib/polkadot/session-keys"
|
|
},
|
|
"state_cache_size": 134217728,
|
|
"unsafe_pruning": false,
|
|
"validator_accounts": {
|
|
"commission": 0,
|
|
"reward_destination": "Staked"
|
|
},
|
|
"version": "latest",
|
|
"wasm_execution": "compiled",
|
|
"work_path": "/var/lib/polkadot"
|
|
}
|
|
}
|