Skip to content

Make MonitorUpdatingPersister change persist type based on size #3770

Open
@TheBlueMatt

Description

@TheBlueMatt

One thing that smaller LDK clients might want is to use MonitorUpdatingPersister in many cases, but not if the ChannelMonitor is only, say, a few KiB when serialized. This avoids the overhead of compaction later if the actual monitor being persisted is tiny anyway.

I think this should be quite easy to do so tagging as a good first issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions