forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 715
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
Dash llmq backports #2921
Merged
Merged
Dash llmq backports #2921
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When iterating the db, we should also include entries that match exactly the end time.
Profiling has shown that a lot of time is spent in resizing the data vector when large messages are involved.
This removes the burden on the message handler thread when many sig batches arrive. The expensive part of deserialization is now performed in the sig shares worker thread. This also removes the need for the specialized deserialization of the sig shares which tried to avoid the malleability check, as CBLSLazySignature does not perform malleability checks at all.
To avoid repeated calls into LevelDB
When the current iteration resulted in CPU intensive work, it's likely that the next iteration will result in work as well. Do not sleep in that case, as we're otherwise wasting (unused) CPU resources.
panleone
force-pushed
the
dash_llmq_backports
branch
from
April 7, 2024 11:02
4e40e25
to
22efef0
Compare
Liquid369
approved these changes
May 6, 2024
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.
tACK 22efef0
Sorry for delay in review had this done for abit but hadn't posted
Duddino
approved these changes
Jul 29, 2024
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.
ACK 22efef0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport dash PRs (in the following order):
dashpay#2640
dashpay#2672
dashpay#2674
dashpay#2702
dashpay#2705
dashpay#2706
dashpay#2707
NB: Some or them are partial backports since most of our llmq files are already updated to a more recent upstream version. So I basically ended up picking the commits that touch only the files
quorums_signing_shares.*
andquorums_signing.*
I suggest to review by checking each individual commit against the corresponding upstream one