-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Merge bitcoin#13151: net: Serve blocks directly from disk when possible #3408
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
Conversation
|
Dropped those two functions, so I think it'd be safe to see we won't see the large speed-ups that upstream did? |
c949c73 to
5e3d838
Compare
|
rebased on develop |
UdjinM6
left a comment
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.
utACK
|
Needs rebase |
bb6c659 to
8663b28
Compare
|
rebased on develop |
0bf4318 net: Serve blocks directly from disk when possible (Wladimir J. van der Laan) Pull request description: In `ProcessGetBlockData`, send the block data directly from disk if type MSG_WITNESS_BLOCK is requested. This is a valid shortcut as the on-disk format matches the network format. This is expected to increase performance because a deserialization and subsequent serialization roundtrip is avoided. Tree-SHA512: 9a9500b4c1354eaae1a6f1c6ef2416c1c1985029852589266f3a70e808f6c7482c135e9ab251a527566935378ab7c32dba4ed43ba5451e802d8e72b77d1ba472 Signed-off-by: Pasta <[email protected]> # Conflicts: # src/net_processing.cpp # src/validation.cpp
Signed-off-by: Pasta <[email protected]>
Signed-off-by: Pasta <[email protected]>
8663b28 to
ec06a89
Compare
|
rebased again to hopefully resolve tests |
Signed-off-by: Pasta <[email protected]>
ec06a89 to
b179fb6
Compare
UdjinM6
left a comment
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.
utACK
…le (dashpay#3408) * Merge bitcoin#13151: net: Serve blocks directly from disk when possible 0bf4318 net: Serve blocks directly from disk when possible (Wladimir J. van der Laan) Pull request description: In `ProcessGetBlockData`, send the block data directly from disk if type MSG_WITNESS_BLOCK is requested. This is a valid shortcut as the on-disk format matches the network format. This is expected to increase performance because a deserialization and subsequent serialization roundtrip is avoided. Tree-SHA512: 9a9500b4c1354eaae1a6f1c6ef2416c1c1985029852589266f3a70e808f6c7482c135e9ab251a527566935378ab7c32dba4ed43ba5451e802d8e72b77d1ba472 Signed-off-by: Pasta <[email protected]> # Conflicts: # src/net_processing.cpp # src/validation.cpp * fix extra bracket Signed-off-by: Pasta <[email protected]> * remove read raw block from disk functions Signed-off-by: Pasta <[email protected]> * correct `if (pblock)` scope Signed-off-by: Pasta <[email protected]> Co-authored-by: Wladimir J. van der Laan <[email protected]>
No description provided.