From a7367d6288e21b7e13bbb2d69f3005fe7e7a3e47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=D0=B5rgi=D0=BE=20N=D0=B5mir=D0=BEwski?= Date: Thu, 18 Jul 2024 21:05:09 +0300 Subject: [PATCH] drop MTB value for NeoFS networks to three days MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sеrgiо Nеmirоwski --- defaults/main/main.yml | 1 - defaults/main/network_opts.yml | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/defaults/main/main.yml b/defaults/main/main.yml index 121c68c..a59af7b 100644 --- a/defaults/main/main.yml +++ b/defaults/main/main.yml @@ -91,7 +91,6 @@ neogo__pprof_host_allow: [] neogo__raw_config: ProtocolConfiguration: - MaxTraceableBlocks: 2102400 MemPoolSize: 50000 InitialGASSupply: 52000000 TimePerBlock: 15s diff --git a/defaults/main/network_opts.yml b/defaults/main/network_opts.yml index 638f0bd..93a1eb3 100644 --- a/defaults/main/network_opts.yml +++ b/defaults/main/network_opts.yml @@ -28,6 +28,16 @@ neogo__network_type_settings: # tls: neogo__default_network_config: + - enabled: "{{ neogo__network_type is match('neo-.*') }}" + path: ProtocolConfiguration + options: + MaxTraceableBlocks: 2102400 + + - enabled: "{{ neogo__network_type is match('morph-.*') }}" + path: ProtocolConfiguration + options: + MaxTraceableBlocks: 17280 + - enabled: "{{ neogo__network_type == 'neo-mainnet' }}" path: ProtocolConfiguration options: