Skip to content

startup option for channel_reserve_satoshis (LND) #1083

@offerm

Description

@offerm

Background

Today, when a channel is opened by A to B, A is requesting B to hold 1% of the capacity in reserve if and when B has a balance greater or equal of the reserve amount (channel_reserve_satoshis). This can lead to strange situations like the case when A opens a 1,000,000 sat channel to B, A sends 10,000 sat to B but B can't do anything with these 10,000 sat as they should be kept as reserve.

Bolt 2: channel_reserve_satoshis: 1% of the channel total is suggested. Each side of a channel maintains this reserve so it always has something to lose if it were to try to broadcast an old, revoked commitment transaction.

Clearly, if B had in the past most of the capacity (say, 50%-99%) and is now having only 1%, this 1% will not keep the "wrong" person from trying to broadcast an old, revoked commitment transaction.

I would like to suggest a new startup Option --chanreserve which is the percentage of the capacity to be used as channel_reserve_satoshis. Default will be 1%.

Please let me know if you are happy with this and I will try to add support.

Thanks

Offer

Metadata

Metadata

Assignees

Labels

P4low priobeginnerIssues suitable for new developersfeature requestRequests for new featuresfundingRelated to the opening of new channels with funding transactions on the blockchain

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions