Compare commits

...

1 Commits

Author SHA1 Message Date
Jędrzej Stuczyński cd05759405 disabled default use_legacy_framed_packet_version 2022-12-09 09:55:34 +00:00
+1 -5
View File
@@ -491,9 +491,6 @@ struct Debug {
maximum_connection_buffer_size: usize, maximum_connection_buffer_size: usize,
/// Specifies whether the mixnode should be using the legacy framing for the sphinx packets. /// 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, use_legacy_framed_packet_version: bool,
} }
@@ -506,8 +503,7 @@ impl Default for Debug {
packet_forwarding_maximum_backoff: DEFAULT_PACKET_FORWARDING_MAXIMUM_BACKOFF, packet_forwarding_maximum_backoff: DEFAULT_PACKET_FORWARDING_MAXIMUM_BACKOFF,
initial_connection_timeout: DEFAULT_INITIAL_CONNECTION_TIMEOUT, initial_connection_timeout: DEFAULT_INITIAL_CONNECTION_TIMEOUT,
maximum_connection_buffer_size: DEFAULT_MAXIMUM_CONNECTION_BUFFER_SIZE, maximum_connection_buffer_size: DEFAULT_MAXIMUM_CONNECTION_BUFFER_SIZE,
// TODO: remember to change it in one of future releases!! use_legacy_framed_packet_version: false,
use_legacy_framed_packet_version: true,
} }
} }
} }