ElementsProject / ElementsProject/lightning

Enable mutual close and penalty txns through peer storage

Open
#7,696 0 comments 0 reactions 1 assignee Claimed by @niftynei View on GitHub
feature
Dominant language
C
Stars
3.1k
Forks
1k
Avg merge
4d 10h
Merged PRs (30d)
13

Description

Currently, we have:

- Peer storage, which contains static channel backup used for node recovery.

I propose we extend it to include the following:

1. Extend peer storage to include the latest channel balances and counterparty commitment secrets.
2. Update peer storage more frequently—if viable—after each RAA.
3. Introduce the ability to perform peer backups for random nodes in exchange for sats.
4. Enable CLN to either initiate a mutual close or sweep funds via penalty transactions if the peer broadcasts an outdated state.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.