[#1609] config: Remove mainchain section

It is deprecated and unused, there is no need to have it in the
documentation.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-07-18 18:52:51 +03:00 committed by fyrchik
parent a4ed91f9b5
commit aed83d1660
5 changed files with 0 additions and 90 deletions

View file

@ -58,10 +58,6 @@ NEOFS_MORPH_DIAL_TIMEOUT=30s
NEOFS_MORPH_DISABLE_CACHE=true
NEOFS_MORPH_RPC_ENDPOINT="wss://rpc1.morph.fs.neo.org:40341/ws wss://rpc2.morph.fs.neo.org:40341/ws"
# Main chain section (optional)
NEOFS_MAINCHAIN_DIAL_TIMEOUT=30s
NEOFS_MAINCHAIN_RPC_ENDPOINT="https://rpc1.n3.nspcc.ru:30341 https://rpc2.n3.nspcc.ru:30341"
# API Client section
NEOFS_APICLIENT_DIAL_TIMEOUT=15s

View file

@ -99,13 +99,6 @@
"wss://rpc2.morph.fs.neo.org:40341/ws"
]
},
"mainchain": {
"dial_timeout": "30s",
"rpc_endpoint": [
"https://rpc1.n3.nspcc.ru:30341",
"https://rpc2.n3.nspcc.ru:30341"
]
},
"apiclient": {
"dial_timeout": "15s"
},

View file

@ -85,12 +85,6 @@ morph:
- wss://rpc1.morph.fs.neo.org:40341/ws
- wss://rpc2.morph.fs.neo.org:40341/ws
mainchain: # DEPRECATED section, is not used and not read
dial_timeout: 30s # timeout for main chain NEO RPC client connection
rpc_endpoint: # main chain NEO RPC endpoints; are shuffled and used one by one until the first success
- https://rpc1.n3.nspcc.ru:30341
- https://rpc2.n3.nspcc.ru:30341
apiclient:
dial_timeout: 15s # timeout for NEOFS API client connection