Skip to content
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

Optimize SendPingMessage #1896

Merged
merged 3 commits into from
Sep 2, 2020
Merged

Optimize SendPingMessage #1896

merged 3 commits into from
Sep 2, 2020

Conversation

shargon
Copy link
Member

@shargon shargon commented Sep 1, 2020

  • Changed GetBlock to GetHeader: removing the transactions deserialization.
  • Cache the header between sessions: reducing the disk usage.

erikzhang
erikzhang previously approved these changes Sep 2, 2020
ShawnYun
ShawnYun previously approved these changes Sep 2, 2020
Co-authored-by: Shargon <shargon@gmail.com>
@erikzhang erikzhang dismissed stale reviews from ShawnYun and themself via 7aceddc September 2, 2020 09:18
@shargon shargon merged commit 234772c into neo-project:master Sep 2, 2020
@shargon shargon deleted the optimize-ping branch September 2, 2020 09:28
ShawnYun pushed a commit to ShawnYun/neo that referenced this pull request Jan 8, 2021
* Optimize SendPing

* Optimize

* Update src/neo/Network/P2P/TaskManager.cs

Co-authored-by: Shargon <shargon@gmail.com>

Co-authored-by: erikzhang <erik@neo.org>
cloud8little pushed a commit to cloud8little/neo that referenced this pull request Jan 24, 2021
* Optimize SendPing

* Optimize

* Update src/neo/Network/P2P/TaskManager.cs

Co-authored-by: Shargon <shargon@gmail.com>

Co-authored-by: erikzhang <erik@neo.org>
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.

3 participants