Function derive_private_key
pub fn derive_private_key<T>(
secp_ctx: &Secp256k1<T>,
per_commitment_point: &PublicKey,
base_secret: &SecretKey,
) -> SecretKeywhere
T: Signing,
Expand description
Derives a per-commitment-transaction private key (eg an htlc key or delayed_payment key) from the base secret and the per_commitment_point.