]> git.bitcoin.ninja Git - rust-lightning/commit
Impl clone for ChannelMonitor 2023-07-cm-clone
authorbenthecarman <benthecarman@live.com>
Fri, 2 Jun 2023 16:27:51 +0000 (11:27 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 24 Jul 2023 22:36:03 +0000 (22:36 +0000)
commitd026259d3eb7b04bc06a6cc1fd7a7979c733bdab
tree36bf9e8f90be6c85d18d8a6d31d91491d6c848f3
parente13ff10c63b01d3a9f1618320ce5f17dad2e5b48
Impl clone for ChannelMonitor

This gives people more freedom with the channel monitors. For Mutiny
this would be nice for us to be able to create copies of them and pass
aorund in memory without having to serialize until we actually want to.

Originally by benthecarman <benthecarman@live.com>
Small bugfix from Matt Corallo <git@bluematt.me>
lightning/src/chain/channelmonitor.rs
lightning/src/chain/onchaintx.rs