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

Add bLIP 55: Webhook Registration (LSPS5) #55

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

Conversation

tnull
Copy link
Contributor

@tnull tnull commented Dec 2, 2024

Based on #52.

In typical mobile environments, a program that is not currently being focused on by the user will be suspended, with all its TCP connections dropped.

This specification provides a way for a mobile client to register some specific webhook by which the LSP can signal a push notification to the application developer server, which will in turn convert the push notification to one that it itself signs and can send to the mobile OS developer server.

The given protocol is based on LSPS0/bLIP 50 and has been previously stabilized by the LSP Spec group.

As previously discussed on multiple occasions, the LSP Spec group is however moving to a bLIP-centric process, which is why we 'upstream' these previously-stabilized specifications here.

(cc the original author @ZmnSCPxj-jr)

@tnull tnull force-pushed the 2024-12-add-lsps5 branch from 68e565d to 4b9484d Compare December 2, 2024 14:33
Copy link
Contributor

@t-bast t-bast left a comment

Choose a reason for hiding this comment

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

Same here, a reference implementation section would be useful.

blip-0055.md Outdated Show resolved Hide resolved
@tnull
Copy link
Contributor Author

tnull commented Dec 13, 2024

Same here, a reference implementation section would be useful.

Hmm, good point in this case, as there is no implementation of this protocol as of today. We plan to add support to lightning-liquidity (which should be a comparatively small task), but haven't come around to do so yet. I assume this means the bLIP would need to remain in the accepted state for now?

In typical mobile environments, a program that is not currently
being focused on by the user will be suspended, with all its
TCP connections dropped.

This specification provides a way for a mobile client to
register some specific webhook by which the LSP can signal a
push notification to the application developer server, which
will in turn convert the push notification to one that it itself
signs and can send to the mobile OS developer server.

The given protocol is based on LSPS0/bLIP 50 and has been previously
stabilized by the LSP Spec group.

As previously discussed on multiple occasions, the LSP Spec
group is however moving to a bLIP-centric process, which is why we
'upstream' these previously-stabilized specifications here.
@tnull
Copy link
Contributor Author

tnull commented Dec 13, 2024

Rebased after #55 landed.

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