Skip to content

Optimize SendPingMessage#1896

Merged
shargon merged 3 commits intoneo-project:masterfrom
shargon:optimize-ping
Sep 2, 2020
Merged

Optimize SendPingMessage#1896
shargon merged 3 commits intoneo-project:masterfrom
shargon:optimize-ping

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.

@shargon shargon requested a review from erikzhang September 1, 2020 18:18
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