Add `ChainMonitor::archive_fully_resolved_monitor_channels`
authorjbesraa <jbesraa@gmail.com>
Wed, 27 Mar 2024 16:19:14 +0000 (18:19 +0200)
committerMatt Corallo <git@bluematt.me>
Thu, 18 Apr 2024 17:12:07 +0000 (17:12 +0000)
  Archives fully resolved channel monitors by adding them to a backup
  location and removing them from the primary storage & the monitor set.

  This is useful for pruning fully resolved monitors from the monitor
  set and primary storage so they are not reloaded on every new new
  block connection.

  We also add a new function, `archive_persisted_channel` to the
  `Persist` trait that writes the monitor to an archive storage and
  removes it from the primary storage.


No differences found