Require option_static_remotekey in channel/channelmonitor.
[rust-lightning] / lightning / src / chain / keysinterface.rs
index ce865107abc3ee831b25263a7281b08921547155..fdcac550928112b83cdf58beb7ee662bc6a42587 100644 (file)
@@ -74,6 +74,8 @@ pub enum SpendableOutputDescriptor {
                /// The output which is referenced by the given outpoint
                output: TxOut,
        },
+       // TODO: Note that because key is now static and exactly what is provided by us, we should drop
+       // this in favor of StaticOutput:
        /// An output to a P2WPKH, spendable exclusively by the given private key.
        /// The witness in the spending input, is, thus, simply:
        /// <BIP 143 signature generated with the given key> <public key derived from the given key>