solution: allows to disable upstream validation

This commit is contained in:
Igor Artamonov
2019-08-13 16:33:44 -04:00
parent 9f211232fd
commit 3957b8cf42
8 changed files with 110 additions and 32 deletions

View File

@@ -0,0 +1,33 @@
version: v1
defaultOptions:
- chains:
- ethereum
options:
disable-syncing: true
min-peers: 3
upstreams:
- id: local
chain: ethereum
options:
min-peers: 7
connection:
ethereum:
rpc:
url: "http://localhost:8545"
ws:
url: "ws://localhost:8546"
origin: "http://localhost"
- id: infura
chain: ethereum
options:
disable-validation: true
connection:
ethereum:
rpc:
url: "https://mainnet.infura.io/v3/fa28c968191849c1aff541ad1d8511f2"
auth:
type: basic
username: 4fc258fe41a68149c199ad8f281f2015
password: 1a68f20154fc258fe4149c199ad8f281