-
Notifications
You must be signed in to change notification settings - Fork 30
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
LSP-managed Inbound Liquidity (client just gets an LSP-specified SCID and uses it for all invoices, LSP figures out how to get payments to the client) #26
Comments
Consider allowing a single client to acquire multiple SCIDs; for example the client could use multiple SCIDs for privacy, and associate a different client-known pubkey with each SCID (the LSP informs the SCID it received as next hop in addition to the onion, so that the client can use an SCID-to-keypair mapping, then decode the onion using the keypair). Against this, note that SCIDs are more limited --- they are less than 64 bits (some SCIDs refer to actual outpoints on the blockchain) and if a single client were allowed to acquire multiple SCIDs then the available space is that much smaller. LDK in particular uses random pick for interception SCIDs, and random nonces (which is what the SCID would really be, as no two clients are allowed to use the same SCID) are often suggested to be at least 80 bits in size, 64 bits is pushing it for nonces, and because some SCIDs point to actual blockchain positions, we have less than 64 bits actually. We would need to build a persisted table of SCIDs issued, and make sure lookup there is fast when we pick a random new SCID. |
I understand the deferment and now the technical challenges around bits. Will LSPS2 be compatible with all the route blinding efforts? My initial reading of it seems like it would be but wanted to double check. Because the privacy considerations of SCID and pubkey rotation should be able to go away with that, correct? I could probably hold off until then, I have a privacy conscious LSP solution currently but do want to move towards this spec. Just need route blinding. |
LSPS2 would be compatible with route blinding: it only requires that the LSP somehow receive an onion that points to the |
The continuous JIT Channels spec allows LSP to issue one "permanent" SCID and multiple "ephemeral" SCIDs. |
@TonyGiorgio the LSPS group hum is that BOLT11 will be replaced by BOLT12 "soon" anyway, so the ephemeral SCIDs support has been removed from the LSPS4 #37. LSPS4 now only issues a single SCID for each client. |
That's unfortunate. I'll continue with my own LSP solution then until route blinding happens. I've only been holding my breath for a few years, I'll believe it when I see it. |
#22 (comment)
The text was updated successfully, but these errors were encountered: