From 1a3e986f6090caab8d0dc5e0ab1a4a7ffa0ffaf6 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 1 Mar 2021 12:18:09 +0300 Subject: [PATCH] [#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 --- services/ir/.ir.env | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/ir/.ir.env b/services/ir/.ir.env index a767be6..eb9c8ae 100644 --- a/services/ir/.ir.env +++ b/services/ir/.ir.env @@ -1,6 +1,10 @@ NEOFS_IR_LOGGER_LEVEL=debug NEOFS_IR_METRICS_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_NOTIFICATION=ws://main_chain:30333/ws NEOFS_IR_MORPH_ENDPOINT_CLIENT=http://morph_chain:30333