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

Use ChannelMonitorUpdates in FilesystemPersister #1426

Open
TheBlueMatt opened this issue Apr 16, 2022 · 0 comments
Open

Use ChannelMonitorUpdates in FilesystemPersister #1426

TheBlueMatt opened this issue Apr 16, 2022 · 0 comments
Milestone

Comments

@TheBlueMatt
Copy link
Collaborator

I thought we had an issue for this, but I guess not. We should really use the ChannelMonitorUpdates in the FilesystemPersister instead of always persisting the full ChannelMonitor.

Because we're moving towards the logic not being encapsulated in the FilesystemPersister in #1417 we'll have to do a bunch of work there - probably we'll want to move the read_channelMonitors thing into lightning using a get method added to the KVStorePersister trait, with the ability to roll forward the monitors using updates and then remove the updates after persisting the new monitor.

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

No branches or pull requests

1 participant