Upstream configuration improvement: (#149)

- now we can specify connector mode for better fine tuning of connection
This commit is contained in:
a10zn8
2023-02-27 14:22:50 +05:00
committed by GitHub
parent 1ec3d44484
commit 00a1490726
14 changed files with 220 additions and 32 deletions

View File

@@ -0,0 +1,12 @@
version: v1
upstreams:
- id: local
chain: ethereum
connection:
ethereum:
connector-mode: RPC_REQUESTS_WITH_WS_HEAD
ws:
url: "ws://localhost:8546"
rpc:
url: "https://localhost:8546"