Struct bip47::BasicTransaction [−][src]
pub struct BasicTransaction<'a>(_);
Expand description
Represents the on-chain notification mode and provides functionality for constructing an on-chain notification message.
Implementations
Derives the notification address belonging to this payment code.
pub fn make_notification_scripts(
&self,
sender_code: &PublicCode,
notification_sk: &PrivateKey,
notification_utxo: &OutPoint
) -> Result<(Script, Script), Error>
pub fn make_notification_scripts(
&self,
sender_code: &PublicCode,
notification_sk: &PrivateKey,
notification_utxo: &OutPoint
) -> Result<(Script, Script), Error>
Generates output scripts (scriptpubkeys) for a v1 notification transaction. Both outputs must be included and the notification input and key must not be easily associated with the sender.