Skip to content

rebalance.py: Fixing setup_routing_fees() and peer_from_scid() for unannounced channels #670

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

21M4TW
Copy link
Contributor

@21M4TW 21M4TW commented Apr 26, 2025

rebalance.py did not work with unannounced channels, as the setup_routing_fees() and peer_from_scid() functions were not using listpeerchannels for local channels. This PR fixes these issues.

@chrisguida chrisguida requested a review from gallizoltan April 27, 2025 00:21
@chrisguida
Copy link
Collaborator

@gallizoltan please review

cc @m-schmoock @cdecker

Copy link
Collaborator

@gallizoltan gallizoltan left a comment

Choose a reason for hiding this comment

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

LGTM, but untested.
Yeah, I never really thought about private channels before. 😅

21M4TW added 2 commits May 5, 2025 15:33
@chrisguida chrisguida force-pushed the fix_unannounced_channels branch from 347b273 to 9759fdb Compare May 5, 2025 20:33
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