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