Update documentation sections about ethereum PoS connection (#150)
This commit is contained in:
@@ -73,17 +73,18 @@ cluster:
|
|||||||
options:
|
options:
|
||||||
disable-validation: true
|
disable-validation: true
|
||||||
connection:
|
connection:
|
||||||
ethereum:
|
ethereum-pos:
|
||||||
rpc:
|
execution:
|
||||||
url: "https://mainnet.infura.io/v3/${INFURA_USER}"
|
rpc:
|
||||||
basic-auth:
|
url: "https://mainnet.infura.io/v3/${INFURA_USER}"
|
||||||
username: ${INFURA_USER}
|
basic-auth:
|
||||||
password: ${INFURA_PASSWD}
|
username: ${INFURA_USER}
|
||||||
ws:
|
password: ${INFURA_PASSWD}
|
||||||
url: "wss://mainnet.infura.io/ws/v3/${INFURA_USER}"
|
ws:
|
||||||
basic-auth:
|
url: "wss://mainnet.infura.io/ws/v3/${INFURA_USER}"
|
||||||
username: ${INFURA_USER}
|
basic-auth:
|
||||||
password: ${INFURA_PASSWD}
|
username: ${INFURA_USER}
|
||||||
|
password: ${INFURA_PASSWD}
|
||||||
- id: ethereum-pos
|
- id: ethereum-pos
|
||||||
node-id: 3
|
node-id: 3
|
||||||
chain: ropsten
|
chain: ropsten
|
||||||
|
|||||||
@@ -110,26 +110,28 @@ cluster:
|
|||||||
disabled:
|
disabled:
|
||||||
- name: "admin_shutdown"
|
- name: "admin_shutdown"
|
||||||
connection:
|
connection:
|
||||||
ethereum:
|
ethereum-pos:
|
||||||
rpc:
|
execution:
|
||||||
url: "http://localhost:8545"
|
rpc:
|
||||||
ws:
|
url: "http://localhost:8545"
|
||||||
url: "ws://localhost:8546"
|
ws:
|
||||||
origin: "http://localhost"
|
url: "ws://localhost:8546"
|
||||||
basic-auth:
|
origin: "http://localhost"
|
||||||
username: 9c199ad8f281f20154fc258fe41a6814
|
basic-auth:
|
||||||
password: 258fe4149c199ad8f2811a68f20154fc
|
username: 9c199ad8f281f20154fc258fe41a6814
|
||||||
|
password: 258fe4149c199ad8f2811a68f20154fc
|
||||||
- id: infura
|
- id: infura
|
||||||
chain: ethereum
|
chain: ethereum
|
||||||
options:
|
options:
|
||||||
disable-validation: true
|
disable-validation: true
|
||||||
connection:
|
connection:
|
||||||
ethereum:
|
ethereum-pos:
|
||||||
rpc:
|
execution:
|
||||||
url: "https://mainnet.infura.io/v3/fa28c968191849c1aff541ad1d8511f2"
|
rpc:
|
||||||
basic-auth:
|
url: "https://mainnet.infura.io/v3/fa28c968191849c1aff541ad1d8511f2"
|
||||||
username: 4fc258fe41a68149c199ad8f281f2015
|
basic-auth:
|
||||||
password: 1a68f20154fc258fe4149c199ad8f281
|
username: 4fc258fe41a68149c199ad8f281f2015
|
||||||
|
password: 1a68f20154fc258fe4149c199ad8f281
|
||||||
- id: bitcoin
|
- id: bitcoin
|
||||||
chain: bitcoin
|
chain: bitcoin
|
||||||
options:
|
options:
|
||||||
@@ -608,12 +610,13 @@ cluster:
|
|||||||
- id: local
|
- id: local
|
||||||
chain: ethereum
|
chain: ethereum
|
||||||
connection:
|
connection:
|
||||||
ethereum:
|
ethereum-pos:
|
||||||
rpc:
|
execution:
|
||||||
url: "http://localhost:8545"
|
rpc:
|
||||||
ws:
|
url: "http://localhost:8545"
|
||||||
url: "ws://localhost:8546"
|
ws:
|
||||||
origin: "http://localhost"
|
url: "ws://localhost:8546"
|
||||||
|
origin: "http://localhost"
|
||||||
include:
|
include:
|
||||||
- "upstreams-extra.yaml"
|
- "upstreams-extra.yaml"
|
||||||
----
|
----
|
||||||
@@ -654,17 +657,18 @@ configuration, and may be omitted for most of the situations.
|
|||||||
disabled:
|
disabled:
|
||||||
- name: "admin_shutdown"
|
- name: "admin_shutdown"
|
||||||
connection:
|
connection:
|
||||||
ethereum:
|
ethereum-pos:
|
||||||
rpc:
|
execution:
|
||||||
url: "http://localhost:8545"
|
rpc:
|
||||||
ws:
|
url: "http://localhost:8545"
|
||||||
url: "ws://localhost:8546"
|
ws:
|
||||||
origin: "http://localhost"
|
url: "ws://localhost:8546"
|
||||||
basic-auth:
|
origin: "http://localhost"
|
||||||
username: 9c199ad8f281f20154fc258fe41a6814
|
basic-auth:
|
||||||
password: 258fe4149c199ad8f2811a68f20154fc
|
username: 9c199ad8f281f20154fc258fe41a6814
|
||||||
frameSize: 5mb
|
password: 258fe4149c199ad8f2811a68f20154fc
|
||||||
msgSize: 15mb
|
frameSize: 5mb
|
||||||
|
msgSize: 15mb
|
||||||
----
|
----
|
||||||
|
|
||||||
.Main Config
|
.Main Config
|
||||||
@@ -718,9 +722,9 @@ See link:09-quorum-and-selectors.adoc[Quorum and Selectors]
|
|||||||
`not_empty` - accept not _null_ value, otherwise retry another upstream;
|
`not_empty` - accept not _null_ value, otherwise retry another upstream;
|
||||||
`not_lagging` - accept response only from a fully synced upstream.
|
`not_lagging` - accept response only from a fully synced upstream.
|
||||||
|
|
||||||
| `connection.ethereum`
|
| `connection.ethereum-pos`
|
||||||
| yes
|
| yes
|
||||||
| Connection configuration for Ethereum API
|
| Connection configuration for Ethereum API of PoS network
|
||||||
|
|
||||||
| `connection.bitcoin`
|
| `connection.bitcoin`
|
||||||
| yes
|
| yes
|
||||||
|
|||||||
Reference in New Issue
Block a user