more granular config for upstream validation

This commit is contained in:
a10zn8
2023-02-15 19:13:10 +04:00
parent 671903f65c
commit 1683be8dac
9 changed files with 419 additions and 39 deletions

View File

@@ -0,0 +1,36 @@
version: v1
upstreams:
- id: test-1
chain: ethereum
options:
disable-validation: false
validate-syncing: true
validate-peers: false
connection:
ethereum:
rpc:
url: "http://localhost:8545"
- id: test-2
chain: ethereum
options:
disable-validation: false
validate-syncing: false
validate-peers: false
connection:
ethereum:
rpc:
url: "http://localhost:8546"
- id: test-3
chain: ethereum
options:
disable-validation: true
validate-syncing: true
validate-peers: true
connection:
ethereum:
rpc:
url: "http://localhost:8547"