[#50] services/ir: Add config value to toggle sidechain-only mode

In IR v0.16.0 it became possible to work with one blockchain without direct
interaction with the mainnet.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-03-01 12:18:09 +03:00 committed by Alex Vanin
parent 595e9856f4
commit 1a3e986f60

View file

@ -1,6 +1,10 @@
NEOFS_IR_LOGGER_LEVEL=debug NEOFS_IR_LOGGER_LEVEL=debug
NEOFS_IR_METRICS_ENABLED=true NEOFS_IR_METRICS_ENABLED=true
NEOFS_IR_PPROF_ENABLED=true NEOFS_IR_PPROF_ENABLED=true
# Toggling the sidechain-only mode
NEOFS_IR_WITHOUT_MAINNET=false
NEOFS_IR_MAINNET_ENDPOINT_CLIENT=http://main_chain:30333 NEOFS_IR_MAINNET_ENDPOINT_CLIENT=http://main_chain:30333
NEOFS_IR_MAINNET_ENDPOINT_NOTIFICATION=ws://main_chain:30333/ws NEOFS_IR_MAINNET_ENDPOINT_NOTIFICATION=ws://main_chain:30333/ws
NEOFS_IR_MORPH_ENDPOINT_CLIENT=http://morph_chain:30333 NEOFS_IR_MORPH_ENDPOINT_CLIENT=http://morph_chain:30333