Skip to content

Conversation

@PastaPastaPasta
Copy link
Member

No description provided.

@PastaPastaPasta PastaPastaPasta requested a review from UdjinM6 April 20, 2022 18:30
@@ -0,0 +1,90 @@
// Copyright (c) 2021 The Dash Core developers
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

along with referring original implementation as a source, adding their copyright is probably for the best, also mention the commit of cpp_range from which this was derived from

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They didn't have a copyright on the file, just a MIT license in the folder

@PastaPastaPasta
Copy link
Member Author

see latest

@github-actions
Copy link

This pull request has conflicts, please rebase.

workerPool.push([pQuorum, t, this](int threadId) {
for (size_t i = 0; i < pQuorum->members.size() && !quorumThreadInterrupt; i++) {
for (const auto i : irange::range(pQuorum->members.size())) {
if (!quorumThreadInterrupt) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (!quorumThreadInterrupt) {
if (quorumThreadInterrupt) {

@PastaPastaPasta PastaPastaPasta requested a review from UdjinM6 April 20, 2022 19:24
@UdjinM6 UdjinM6 added this to the 19 milestone Apr 20, 2022
@UdjinM6
Copy link

UdjinM6 commented Apr 20, 2022

pls see 49f76c6

@github-actions
Copy link

This pull request has conflicts, please rebase.

UdjinM6
UdjinM6 previously approved these changes Apr 25, 2022
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@UdjinM6 UdjinM6 dismissed their stale review April 25, 2022 20:38

hmm.. linter isn't happy

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@UdjinM6 UdjinM6 merged commit 80d9738 into dashpay:develop Apr 25, 2022
@PastaPastaPasta PastaPastaPasta deleted the refac-irange branch April 26, 2022 03:02
PastaPastaPasta pushed a commit that referenced this pull request Nov 27, 2023
#5732)

## Issue being fixed or feature implemented
#4788 (comment)

noticed while working on #5731

## What was done?

## How Has This Been Tested?
run a node, check logs - there is a meaningful time span between `start`
and `done` now and not just zeros all the time.

## Breaking Changes

## Checklist:
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added or updated relevant unit/integration/functional/e2e
tests
- [ ] I have made corresponding changes to the documentation
- [x] I have assigned this pull request to a milestone _(for repository
code-owners and collaborators only)_
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