File tree 1 file changed +8
-1
lines changed 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,16 @@ pub enum SpendableOutputDescriptor {
66
66
/// delayed_payment_pubkey to chan_utils::get_revokeable_redeemscript.
67
67
///
68
68
/// To derive the delayed_payment key corresponding to the channel state, you must pass the
69
- /// channel's delayed_payment_key and the provided per_commitment_point to
69
+ /// local delayed_payment_base_key and the provided per_commitment_point to
70
70
/// chan_utils::derive_private_key. The resulting key should be used to sign the spending
71
71
/// transaction.
72
+ ///
73
+ /// To derive the revocation_pubkey corresponding to the channel state, you must pass the
74
+ /// remote revocation_basepoint and the provided per_commitment point to
75
+ /// chan_utils::derive_public_revocation_key.
76
+ ///
77
+ /// Both remote revocation_basepoint and local delayed_payment_base_key should be given
78
+ /// by ChannelKeys, either default implementation (InMemoryChannelKeys) or custom one.
72
79
DynamicOutputP2WSH {
73
80
/// The outpoint which is spendable
74
81
outpoint : OutPoint ,
You can’t perform that action at this time.
0 commit comments