+ /**
+ * Prevents the channel monitor from being loaded on startup.
+ *
+ * Archiving the data in a backup location (rather than deleting it fully) is useful for
+ * hedging against data loss in case of unexpected failure.
+ */
+ public void archive_persisted_channel(org.ldk.structs.OutPoint channel_funding_outpoint) {
+ bindings.Persist_archive_persisted_channel(this.ptr, channel_funding_outpoint.ptr);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(channel_funding_outpoint);
+ if (this != null) { this.ptrs_to.add(channel_funding_outpoint); };
+ }
+