Trait psbt::InputP2cTweak[][src]

pub trait InputP2cTweak {
    fn set_dbc_p2c_tweak(&mut self, pubkey: PublicKey, tweak: Slice32);
fn dbc_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

Adds information about DBC P2C public key to PSBT input

Finds a tweak for the provided bitcoin public key, if is known

Implementors