-
Notifications
You must be signed in to change notification settings - Fork 1.2k
backport: Merge bitcoin/bitcoin#27297, partial #30006, #26749 #7565
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
Changes from all commits
5d122de
d01d77f
8531f57
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -496,7 +496,7 @@ def assert_debug_log(self, expected_msgs, unexpected_msgs=None, timeout=2): | |
| self._raise_assertion_error('Expected messages "{}" does not partially match log:\n\n{}\n\n'.format(str(expected_msgs), print_log)) | ||
|
|
||
| @contextlib.contextmanager | ||
| def wait_for_debug_log(self, expected_msgs, timeout=60): | ||
| def busy_wait_for_debug_log(self, expected_msgs, timeout=60): | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When the default functional suite runs AGENTS.md reference: AGENTS.md:L15-L17 Useful? React with 👍 / 👎. |
||
| """ | ||
| Block until we see a particular debug log message fragment or until we exceed the timeout. | ||
| Return: | ||
|
|
||
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.
When a non-null multi-member LLMQ commitment is queued here,
std::move(vChecks)does not actually move itsBlsCheckelements:BlsCheckdeclares a destructor but no move constructor or assignment operator, so the rvalue is handled by its implicit copy operations. Consequently bothCCheckQueue::Add()andLoop()copy the signature, string, and as many as 400 public keys while holding the queue mutex, replacing the previous constant-time swaps with serialized deep copies; declare explicit move operations for this Dash-specific check type.AGENTS.md reference: AGENTS.md:L15-L17
Useful? React with 👍 / 👎.