-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the case of GetData in ProtocolHandlerMailbox#ShallDrop in 2.x #1206
Conversation
Master 2.x
…into removeGetData-2.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not 100% confident of merging this PR to master2x
.
Check my comment: #1201 (comment)
I would be more certain if the ShalDrop was just for the ConsensusGetData
type and not all GetData
. That just would require was to create this new command
.
It's true, but |
What is the difference with neo3? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. |
Hi @Tommo-L, how is it going? Should we create this type and merge this? Or better to wait for a stable NEO3-preview for testing it there? |
😂 We haven't added this type, we hope that Neo2.x remains as functionally unchanged as possible. The introduction of new types will affect consensus modules. |
AHueahuea, then we need to decide if we merge this, wait for NEO3x preview to see results or close... |
We can wait for the result of Neo3 preview, considering that the next stable version of 2.x will take some days |
Test result of this PR: Fail Scenario Two: Failed |
@cloud8little |
@doubiliu thanks very much for the detailed explanations. Here are the test result.
|
Nice discussions. @cloud8little, where there gains in performance? @doubiliu, can you check this comment again, please? #1201 (comment) I am still not sure because this could be a path to attacks. |
If it's an non required optimization, and it could produce some errors, I prefer to not merge this. |
We'll close this PR, as we don't want to add non-repair features to 2.x. |
port to 2.x
Remove the case of GetData in ProtocolHandlerMailbox#ShallDrop has merged in 3.0