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

Optimize deposit sweep proposal generator #3805

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

lukasz-zimnoch
Copy link
Member

Closes: #3802

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.

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.
@tomaszslabon tomaszslabon enabled auto-merge April 11, 2024 11:43
@tomaszslabon tomaszslabon merged commit 795d284 into main Apr 11, 2024
29 checks passed
@tomaszslabon tomaszslabon deleted the optimize-ds-generation branch April 11, 2024 11:58
lukasz-zimnoch added a commit that referenced this pull request Apr 11, 2024
This pull request backports
#3805 to the
`releases/mainnet/v2.0.1` branch.
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.

Optimize deposit sweeping
2 participants