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

greenlight: use remote cltv delta in route hints #1007

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

JssDWt
Copy link
Contributor

@JssDWt JssDWt commented Jun 17, 2024

Next to the recently modified base fee and fee rate, we now also use the cltv delta from the remote routing policy in the route hints.

I've dropped in some small optimizations on iterations and cloning, so this function is less resource intensive when there are many channels.

Copy link
Member

@roeierez roeierez left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@dangeross dangeross left a comment

Choose a reason for hiding this comment

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

Looks good!

@JssDWt JssDWt merged commit e998692 into main Jun 17, 2024
7 checks passed
@JssDWt JssDWt deleted the jssdwt-fix-route-hint-cltv-delta branch October 14, 2024 10:43
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