From cd0575940546ee30c98255af171a1b80853effa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Tue, 6 Dec 2022 15:37:42 +0000 Subject: [PATCH] disabled default use_legacy_framed_packet_version --- mixnode/src/config/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mixnode/src/config/mod.rs b/mixnode/src/config/mod.rs index 23a80a5127..77aea3b591 100644 --- a/mixnode/src/config/mod.rs +++ b/mixnode/src/config/mod.rs @@ -491,9 +491,6 @@ struct Debug { maximum_connection_buffer_size: usize, /// Specifies whether the mixnode should be using the legacy framing for the sphinx packets. - // it's set to true by default. The reason for that decision is to preserve compatibility with the - // existing nodes whilst everyone else is upgrading and getting the code for handling the new field. - // It shall be disabled in the subsequent releases. use_legacy_framed_packet_version: bool, } @@ -506,8 +503,7 @@ impl Default for Debug { packet_forwarding_maximum_backoff: DEFAULT_PACKET_FORWARDING_MAXIMUM_BACKOFF, initial_connection_timeout: DEFAULT_INITIAL_CONNECTION_TIMEOUT, maximum_connection_buffer_size: DEFAULT_MAXIMUM_CONNECTION_BUFFER_SIZE, - // TODO: remember to change it in one of future releases!! - use_legacy_framed_packet_version: true, + use_legacy_framed_packet_version: false, } } }