Skip to content

Commit 8bd155e

Browse files
authored
Merge pull request #552 from ariard/2020-03-ismine-spendable
Introduce IsMine logic in ChannelMonitor for SpendableOutputDescriptor detection
2 parents 7df042b + 1c7b6c8 commit 8bd155e

File tree

5 files changed

+334
-200
lines changed

5 files changed

+334
-200
lines changed

lightning/src/chain/keysinterface.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ use ln::msgs::DecodeError;
3737
/// spend on-chain. The information needed to do this is provided in this enum, including the
3838
/// outpoint describing which txid and output index is available, the full output which exists at
3939
/// that txid/index, and any keys or other information required to sign.
40+
#[derive(Clone, PartialEq)]
4041
pub enum SpendableOutputDescriptor {
4142
/// An output to a script which was provided via KeysInterface, thus you should already know
4243
/// how to spend it. No keys are provided as rust-lightning was never given any keys - only the

0 commit comments

Comments
 (0)