2023-04-18 11:57:55 -07:00
|
|
|
[server]
|
2023-04-27 17:13:18 -07:00
|
|
|
rpc_port = 8545
|
2023-04-18 11:57:55 -07:00
|
|
|
|
|
|
|
[backend]
|
|
|
|
response_timeout_seconds = 1
|
2023-05-31 12:41:20 -07:00
|
|
|
max_degraded_latency_threshold = "30ms"
|
2023-04-18 11:57:55 -07:00
|
|
|
|
|
|
|
[backends]
|
|
|
|
[backends.node1]
|
|
|
|
rpc_url = "$NODE1_URL"
|
|
|
|
|
|
|
|
[backends.node2]
|
|
|
|
rpc_url = "$NODE2_URL"
|
|
|
|
|
|
|
|
[backend_groups]
|
|
|
|
[backend_groups.node]
|
|
|
|
backends = ["node1", "node2"]
|
|
|
|
consensus_aware = true
|
|
|
|
consensus_handler = "noop" # allow more control over the consensus poller for tests
|
2023-05-03 16:23:43 -07:00
|
|
|
consensus_ban_period = "1m"
|
|
|
|
consensus_max_update_threshold = "2m"
|
2023-05-26 19:15:09 -07:00
|
|
|
consensus_max_block_lag = 8
|
2023-05-03 16:23:43 -07:00
|
|
|
consensus_min_peer_count = 4
|
2023-04-18 11:57:55 -07:00
|
|
|
|
|
|
|
[rpc_method_mappings]
|
|
|
|
eth_call = "node"
|
|
|
|
eth_chainId = "node"
|
|
|
|
eth_blockNumber = "node"
|
|
|
|
eth_getBlockByNumber = "node"
|
2023-06-01 13:16:40 -07:00
|
|
|
consensus_getReceipts = "node"
|