-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
`!info.tx == res.second` is always `true`
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.
Looks good, utACK with one maybe nit :)
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
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.
utACK
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.
utACK
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.
utACK
* 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>
Please see individual commits.
Extracted from #3970