Conversation
roman-khimov
left a comment
There was a problem hiding this comment.
We can add a configuration to disable local compression immediately, this is backwards-compatible (and make it send the new attribute in the subsequent version).
src/Neo/Network/P2P/Capabilities/DisableCompressionCapability.cs
Outdated
Show resolved
Hide resolved
src/Neo/Network/P2P/Capabilities/DisableCompressionCapability.cs
Outdated
Show resolved
Hide resolved
cschuchardt88
left a comment
There was a problem hiding this comment.
Your missing ProtocolSettings.
Where? |
It's a |
It's already done, isn't it? |
As far as I saw, its just in the |
|
But why |
Wouldn't you like to know if the node is using compression. For example Plus Its a protocol setting isn't it? makes sense to have it in both places. |
Why we want to have it replicated in multiple places? |
I answered that already!
|
| @@ -0,0 +1,31 @@ | |||
| // Copyright (C) 2015-2024 The Neo Project. | |||
| // | |||
| // UnknownCapability.cs file belongs to the neo project and is free | |||
There was a problem hiding this comment.
| // UnknownCapability.cs file belongs to the neo project and is free | |
| // DisableCompressionCapability.cs file belongs to the neo project and is free |
Description
Step 1 of #2626, add node capability for disable compression
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: