lightningdevkit / ldk-node

A ready-to-go node implementation built using LDK.
Other
151 stars 82 forks source link

Reset network graph upon changing gossip source #409

Closed tnull closed 33 minutes ago

tnull commented 1 week ago

We already reset the last RGS syncing timestamp on switching gossip sources, but we should also reset the network graph data itself, as otherwise we might be unable to apply RGS updates to a previously-P2PGossip synced graph.

TheBlueMatt commented 6 days ago

Hmm, this shouldn't be the case, it should apply cleanly. Is there a specific case where it didn't? cc @arik-so

tnull commented 33 minutes ago

As I'm unable to reproduce the issue, I'm closing this for now.