Skip to content

Move heavy coin selection out of the loop in SubmitDenominate#2274

Merged
UdjinM6 merged 2 commits into
dashpay:developfrom
UdjinM6:moveheavypartsout
Sep 15, 2018
Merged

Move heavy coin selection out of the loop in SubmitDenominate#2274
UdjinM6 merged 2 commits into
dashpay:developfrom
UdjinM6:moveheavypartsout

Conversation

@UdjinM6
Copy link
Copy Markdown

@UdjinM6 UdjinM6 commented Sep 8, 2018

Have to refactor quite a bit of code but the functionality should stay the same (logic wise).

Includes #2270 , will rebase after it's merged.

@UdjinM6 UdjinM6 added this to the 12.4 milestone Sep 8, 2018
Comment thread src/privatesend-client.cpp Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

... pair.second.nRounds >= nMaxRounds ...

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed by #2277

Comment thread src/privatesend-client.cpp Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

... SelectDenominate failed, error: %s\n", strError);

Comment thread src/privatesend-client.cpp Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Same 3 checks at the beginning of SelectDenominate. Redundant here?

@UdjinM6 UdjinM6 changed the title Move heavy coin selection out of the loop in SubmitDenominate [WIP] Move heavy coin selection out of the loop in SubmitDenominate Sep 9, 2018
@UdjinM6
Copy link
Copy Markdown
Author

UdjinM6 commented Sep 11, 2018

rebased, pls review

@UdjinM6 UdjinM6 changed the title [WIP] Move heavy coin selection out of the loop in SubmitDenominate Move heavy coin selection out of the loop in SubmitDenominate Sep 11, 2018
Copy link
Copy Markdown

@gladcow gladcow left a comment

Choose a reason for hiding this comment

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

utACK

Copy link
Copy Markdown

@nmarley nmarley 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 d192d64 into dashpay:develop Sep 15, 2018
@UdjinM6 UdjinM6 deleted the moveheavypartsout branch November 26, 2020 13:27
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.

4 participants