2022-09-23 22:21:12 +02:00
|
|
|
whitelist_error_message = "rpc method is not whitelisted"
|
|
|
|
|
2022-06-08 09:09:32 -06:00
|
|
|
ws_backend_group = "main"
|
|
|
|
|
|
|
|
ws_method_whitelist = [
|
2022-06-16 13:02:39 -06:00
|
|
|
"eth_subscribe",
|
|
|
|
"eth_accounts"
|
2022-06-08 09:09:32 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[server]
|
|
|
|
rpc_port = 8545
|
|
|
|
ws_port = 8546
|
|
|
|
|
|
|
|
[backend]
|
|
|
|
response_timeout_seconds = 1
|
|
|
|
|
|
|
|
[backends]
|
|
|
|
[backends.good]
|
|
|
|
rpc_url = "$GOOD_BACKEND_RPC_URL"
|
|
|
|
ws_url = "$GOOD_BACKEND_RPC_URL"
|
|
|
|
max_ws_conns = 1
|
|
|
|
|
|
|
|
[backend_groups]
|
|
|
|
[backend_groups.main]
|
|
|
|
backends = ["good"]
|
|
|
|
|
|
|
|
[rpc_method_mappings]
|
|
|
|
eth_chainId = "main"
|