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

[Backport] Optimize deposit sweep proposal generator #3808

Merged

Conversation

lukasz-zimnoch
Copy link
Member

This pull request backports #3805 to the releases/mainnet/v2.0.1 branch.

Fetching deposit script type is not needed for sweep proposal generation.
Doing so means making an additional Electrum call for each deposit. This
makes proposal generation longer and more prone to failure.

At the same time, the script type is used only for Maintainer CLI which
is not so important since we have tbtcscan and there is no way to
manually trigger sweeps due to the introduction of RFC 12.

That said, we are removing script type fetch from the process.

(cherry picked from commit 079bb82)
@lukasz-zimnoch lukasz-zimnoch self-assigned this Apr 11, 2024
@lukasz-zimnoch lukasz-zimnoch added this to the v2.0.1 milestone Apr 11, 2024
@lukasz-zimnoch lukasz-zimnoch merged commit 62d13e9 into releases/mainnet/v2.0.1 Apr 11, 2024
28 checks passed
@lukasz-zimnoch lukasz-zimnoch deleted the backport-optimize-ds-generation branch April 11, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants