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

Invoice rebalancing between managed nodes #74

Merged
merged 11 commits into from
Apr 17, 2024

Conversation

Jossec101
Copy link
Contributor

@Jossec101 Jossec101 commented Apr 17, 2024

This pull request introduces invoice rebalancing between to liquidator managed nodes by creating invoices on one side of the channel and paying from the other.

Everything has been updated to loop 0.27.1 and LND 0.17.4, including polar file.

This PR requires Elenpay/NodeGuard#369

Bonus: Removed lot of go unused files.

liquidator.go Show resolved Hide resolved
liquidator.go Outdated Show resolved Hide resolved
RodriFS
RodriFS previously approved these changes Apr 17, 2024
Copy link
Contributor

@RodriFS RodriFS left a comment

Choose a reason for hiding this comment

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

LGTM. if you can compact that code so we don't have nested switches, the better. But I'll leave it approved

@Jossec101 Jossec101 merged commit 245b205 into main Apr 17, 2024
1 check passed
@Jossec101 Jossec101 deleted the managed-node-autobalance-without-swap branch April 17, 2024 16:19
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.

2 participants