Skip to content

server: Remove dup min protocol version check.#3335

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:server_remove_unneeded_dup_version_check
May 29, 2024
Merged

server: Remove dup min protocol version check.#3335
davecgh merged 1 commit intodecred:masterfrom
davecgh:server_remove_unneeded_dup_version_check

Conversation

@davecgh
Copy link
Member

@davecgh davecgh commented May 29, 2024

Previously, outbound peers were required to have a newer minimum protocol version than inbound peers, so two different checks were needed to differentiate.

However, now that both inbound and outbound peers are required to have the same minimum version, there is no longer any need to have both checks for the same thing.

Thus, this removes the additional check that is no longer needed.

Previously, outbound peers were required to have a newer minimum
protocol version than inbound peers, so two different checks were needed
to differentiate.

However, now that both inbound and outbound peers are required to have
the same minimum version, there is no longer any need to have both
checks for the same thing.

Thus, this removes the additional check that is no longer needed.
@davecgh davecgh added this to the 2.1.0 milestone May 29, 2024
@davecgh davecgh merged commit 138db37 into decred:master May 29, 2024
@davecgh davecgh deleted the server_remove_unneeded_dup_version_check branch May 29, 2024 19:37
@davecgh davecgh modified the milestones: 2.1.0, 2.0.2 Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants