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

Upgrade lnd and Cancelable payment flag #193

Merged
merged 3 commits into from
Sep 24, 2024

Conversation

hieblmi
Copy link

@hieblmi hieblmi commented Sep 20, 2024

This PR upgrades to lnd to v0.18.3-beta and then adds Cancelable to the SendPaymentRequest.

@hieblmi hieblmi requested review from bhandras and guggero September 20, 2024 11:41
@hieblmi hieblmi force-pushed the cancelable-sendpayment branch 2 times, most recently from b833d27 to 29c2c23 Compare September 20, 2024 11:46
@guggero guggero changed the base branch from master to lnd-18-0 September 20, 2024 11:50
@hieblmi hieblmi force-pushed the cancelable-sendpayment branch from 29c2c23 to dbc452d Compare September 20, 2024 11:51
Copy link
Member

@guggero guggero 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. I changed the base to add this to the lnd-18-0 branch, which caused conflicts.

router_client.go Outdated
@@ -284,6 +284,13 @@ type SendPaymentRequest struct {

// AMP is set to true if the payment should be an AMP payment.
AMP bool

// If set, the payment loop can be interrupted by manually canceling
Copy link
Member

Choose a reason for hiding this comment

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

nit: Godoc comments should start with the field name. Also, there are double spaces at the start of the comment.

@hieblmi hieblmi force-pushed the cancelable-sendpayment branch from dbc452d to 50c5387 Compare September 20, 2024 11:59
@guggero
Copy link
Member

guggero commented Sep 20, 2024

I think you need to revert the changes to tools/, otherwise you're downgrading the linter.

Copy link
Member

@bhandras bhandras left a comment

Choose a reason for hiding this comment

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

LGTM, pending Oliver's comments 🎉

@hieblmi hieblmi force-pushed the cancelable-sendpayment branch 3 times, most recently from 61c553e to 0956c7a Compare September 20, 2024 13:32
This commit also updates the go version
from 1.19 to 1.23
@hieblmi hieblmi requested a review from guggero September 20, 2024 13:42
Copy link
Member

@guggero guggero left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

router_client.go Outdated
@@ -284,6 +284,13 @@ type SendPaymentRequest struct {

// AMP is set to true if the payment should be an AMP payment.
AMP bool

// Cancelable controls if the payment can be interrupted manually by
Copy link
Member

Choose a reason for hiding this comment

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

nit: double spaces still there...

Copy link
Author

Choose a reason for hiding this comment

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

fixed.

@hieblmi hieblmi force-pushed the cancelable-sendpayment branch from 0956c7a to 60ce43d Compare September 21, 2024 08:43
@hieblmi hieblmi merged commit b653b29 into lightninglabs:lnd-18-0 Sep 24, 2024
1 check passed
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