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

LSPS2: Emit event when fee has been collected for a channel #127

Closed
johncantrell97 opened this issue Apr 11, 2024 · 1 comment
Closed

LSPS2: Emit event when fee has been collected for a channel #127

johncantrell97 opened this issue Apr 11, 2024 · 1 comment

Comments

@johncantrell97
Copy link
Contributor

Once PaymentForwarded has the skimmed_fee_msat parameter in LDK 123 we should add an event to notify the LSP server that the fee has been paid for a channel.

Otherwise, the LSP needs to duplicate this logic to decide when to broadcast the funding transaction if using client trusts lsp.

@johncantrell97
Copy link
Contributor Author

I think we can do this without an event and just return information from payment_forwarded event instead.

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

No branches or pull requests

1 participant