]> git.bitcoin.ninja Git - rust-lightning/commit
Add types for updating ChannelMonitors without copying them.
authorMatt Corallo <git@bluematt.me>
Thu, 6 Feb 2020 00:39:31 +0000 (19:39 -0500)
committerMatt Corallo <git@bluematt.me>
Thu, 27 Feb 2020 00:15:32 +0000 (19:15 -0500)
commit3b277cc39427d1f1bdbce4a4c2eea2dee493f9f0
tree521a5aa5f90eb34d68ceaff3f671b6bec1e845be
parentd271d74bc71cf8a825be38734aaceb57e2d5d0a3
Add types for updating ChannelMonitors without copying them.

This is the first step in migrating ChannelMonitor updating logic
to use incremental Update objects instead of copying the
ChannelMonitors themselves and insert_combine()ing them.

This adds most of the scaffolding and updates relevant comments to
refer to the new architecture, without changing how any actual
updates occur.
fuzz/src/chanmon_consistency.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/channelmonitor.rs
lightning/src/util/test_utils.rs