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

bLIP-57: Channel Lease Extensions (LSPS7) #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kaloudis
Copy link

No description provided.

```json
{
"short_channel_id": "871428x964x0",
"channel_extension_expiry_blocks": 144,
Copy link

Choose a reason for hiding this comment

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

Does it make sense to use new_channel_expiry_blocks here instead of channel_extension_expiry_blocks ?

Copy link
Author

Choose a reason for hiding this comment

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

Good question. Either could work. Open to hear arguments in favor of one over the other.

Copy link

Choose a reason for hiding this comment

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

Just re-read LSPs1 and now I am convinced it is better to keep channel_extension_expiry_blocks for the sake of uniformity.

@kaloudis
Copy link
Author

kaloudis commented Feb 5, 2025


## Motivation

The goal of this specification is to provide a standardized LSP API for wallets to extend the lifetime of a channel purchased from an LSP.

Choose a reason for hiding this comment

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

Isn't it unfair to pay for the extension of a channel in which the balance has been on the non-LSP side during all of the previous period? No capital cost for the LSP. Or would this be taken into account when pricing the next extension?

I do realize of course that this is more of a remark on the side.

Copy link
Author

Choose a reason for hiding this comment

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

It's up to the LSP how they want to price it. Pricing basing on the current ratio of balances is a bit tricky as it can change drastically in an instant

Choose a reason for hiding this comment

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

Current ratio can of course change drastically, but I was thinking of the average balance of the previous period. So even if the final balance is skewed heavily towards the LSP, it may not mean that the average balance, that is the basis for the calculation of the price of the extension, is too.

A continuous model for this would be to have a constant flow of sats towards the LSP proportional to the LSP balance.

Ofc still side remarks all of this 😅

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