Struct bip47::BloomMultisig [−][src]
pub struct BloomMultisig<'a>(_);
Expand description
Represents the “bloom-multisig” (also known as v2) notification mode and provides functionality for constructing an on-chain notification message.
Implementations
Generates a bloom filter identifier to watch for. This is what the receiving party should add to their bloom filter in order to notice bloom filter type notifications.
pub fn notification_params(
&self,
sender_code: &PublicCode,
notification_sk: &PrivateKey,
notification_utxo: &OutPoint,
change_pk: &PublicKey
) -> Result<(Script, Script), Error>
pub fn notification_params(
&self,
sender_code: &PublicCode,
notification_sk: &PrivateKey,
notification_utxo: &OutPoint,
change_pk: &PublicKey
) -> Result<(Script, Script), Error>
Generates output scripts for a v2 notification transaction. The change key belongs to the sender’s wallet.