Skip to content

Peer storage sent too early #7931

@thomash-acinq

Description

@thomash-acinq

Issue and Steps to Reproduce

When opening a new channel, CLN immediately sends a peer_storage before the channel is fully open. Eclair will ignore such peer_storage as we only accept storage from peers that have an active channel with us.
When reconnecting with a peer, CLN sends a peer_storage immediately, even before sending peer_storage_retrieval. This will override any previous storage backup and cancel any benefit from the feature (or in Eclair's case it will simply be ignored because there is no active channel yet).

getinfo output

"version": "v24.08.2"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions