Skip to content
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

instantsend: Refactor various parts #3983

Merged
merged 7 commits into from
Feb 14, 2021

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Feb 6, 2021

Please see individual commits.

Extracted from #3970

@UdjinM6 UdjinM6 marked this pull request as ready for review February 6, 2021 12:54
@UdjinM6 UdjinM6 added this to the 17 milestone Feb 6, 2021
xdustinface
xdustinface previously approved these changes Feb 10, 2021
Copy link

@xdustinface xdustinface left a comment

Choose a reason for hiding this comment

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

Looks good, utACK with one maybe nit :)

src/llmq/quorums_instantsend.cpp Outdated Show resolved Hide resolved
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
xdustinface
xdustinface previously approved these changes Feb 10, 2021
Copy link

@xdustinface xdustinface 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

@xdustinface xdustinface 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
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK

@PastaPastaPasta PastaPastaPasta merged commit ee3e175 into dashpay:develop Feb 14, 2021
@UdjinM6 UdjinM6 deleted the is_optim_1 branch July 1, 2021 21:58
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Mar 13, 2022
* refactor: Add `const` qualifier to various InstantSend related methods

* refactor: Drop ProcessNewTransaction

* refactor: Simplify GetInstantSendLock(*) methods

* refactor: Check height inside Remove(Archived/Confirmed)InstantSendLocks

* refactor: Squash two loops in AddNonLockedTx into one

`!info.tx == res.second` is always `true`

* Update src/llmq/quorums_instantsend.cpp

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

* Update src/llmq/quorums_instantsend.cpp

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
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