solution: allow configuring a quorum for custom methods

This commit is contained in:
Igor Artamonov
2021-08-04 14:58:28 -04:00
parent 96109d4013
commit 2f2a553cd4
12 changed files with 166 additions and 14 deletions

View File

@@ -0,0 +1,18 @@
version: v1
upstreams:
- id: local
chain: ethereum
methods:
enabled:
- name: custom_foo
quorum: not_lagging
- name: custom_bar
quorum: not_empty
connection:
ethereum:
rpc:
url: "http://localhost:8545"
ws:
url: "ws://localhost:8546"
origin: "http://localhost"