LSPS
Standard specs for LSP
BitcoinAndLightningLayerSpecs/lsp: API specifications for Lightning Service Providers
LSPS0
Transport layer として BOLT8 を使うことが決まっている
payload は TLV などではなく、JSON である
https://t.me/LSPstandards/1864
lsp/LSPS0/common-schemas.md at common-schemas · ZmnSCPxj-jr/lsp
LSPS1
channel request
LSPS2
lsp/LSPS2 at main · BitcoinAndLightningLayerSpecs/lsp
PR
LSPS2: JIT Channels. by ZmnSCPxj-jr · Pull Request #22 · BitcoinAndLightningLayerSpecs/lsp
JIT channels
breez LSP で言うところの on-the-fly channel
Trust Models
LSP か client のどちらかがリスクを負う必要がある
LSP は channel を作ったが client が応答しなければ、channel クローズする必要があるが to_self_delay の間 sats がロックさる
client は channel 作成の tx がマイニングされる前に preimage を渡してしまうと、実際には sats を受け取れない可能性がある
Fee なし運用できるか?
クライアントごとに切り替えるなどできるか?
送金額が open channel の fee に満たない場合どうする?
async payment が実装されていれば、送金元で止めておくことはできるという案
https://t.me/LSPstandards/1894
認証/暗号化が済んでいるチャネルなのに、なぜ promise field が必要なのか?
LSPS4
LSPS4: Continuous JIT Channels. by ZmnSCPxj-jr · Pull Request #37 · BitcoinAndLightningLayerSpecs/lsp
受け取りに JIT channel を使うことで、payer に対して ephemeral な node id しか伝えずプライバシーを守ることができる
これは単に同じ LSP から続けて JIT channel を買う場合のフローという感じか?
LSPS compatible LSP implementation
lightningdevkit/ldk-lsp-client
lightningdevkit/lightning-liquidity
kuutamolabs/kld: A Lightning Service Provider router by kuutamo?
Repo by Zmn who leads the spec may helpfull.
ZmnSCPxj-jr/lsp: API specifications for Lightning Service Providers