pub trait P2cOutput {
fn set_p2c_tweak(&mut self, pubkey: PublicKey, tweak: Slice32);
fn p2c_tweak(&self, pk: PublicKey) -> Option<Slice32>;
}
Expand description
Extension trait to work with deterministic bitcoin commitment P2C tweaks applied to public keys in PSBT inputs.
Required methods
fn set_p2c_tweak(&mut self, pubkey: PublicKey, tweak: Slice32)
fn set_p2c_tweak(&mut self, pubkey: PublicKey, tweak: Slice32)
Adds information about DBC P2C public key to PSBT input