Skip to content

instantsend: Refactor various parts#3983

Merged
PastaPastaPasta merged 7 commits into
dashpay:developfrom
UdjinM6:is_optim_1
Feb 14, 2021
Merged

instantsend: Refactor various parts#3983
PastaPastaPasta merged 7 commits into
dashpay:developfrom
UdjinM6:is_optim_1

Conversation

@UdjinM6

@UdjinM6 UdjinM6 commented Feb 6, 2021

Copy link
Copy Markdown

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

@xdustinface xdustinface left a comment

Copy link
Copy Markdown

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 :)

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

@xdustinface xdustinface left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

Comment thread src/llmq/quorums_instantsend.cpp Outdated

@xdustinface xdustinface left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Member

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