2022-09-23 23:21:12 +03:00
|
|
|
whitelist_error_message = "rpc method is not whitelisted"
|
|
|
|
|
2022-06-08 18:09:32 +03:00
|
|
|
ws_backend_group = "main"
|
|
|
|
|
|
|
|
ws_method_whitelist = [
|
2022-06-16 22:02:39 +03:00
|
|
|
"eth_subscribe",
|
|
|
|
"eth_accounts"
|
2022-06-08 18:09:32 +03: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"
|