/// Create partial commitment signature for the metadata, usually done by the receiver
Create partial commitment signature for the metadata, usually done by the receiver
Create partial commitment signature for the metadata usually done by the receiver
pub fn create_partial_metadata_signature(
        value: &MicroTari,
        spending_key: &BlindingFactor,
        script: &TariScript,
        output_features: &OutputFeatures,
        sender_offset_public_key: &PublicKey,
        partial_commitment_nonce: &PublicKey,
    ) -> Result<ComSignature, TransactionError> {
        TransactionOutput::create_metadata_signature(
            value,
            spending_key,
            script,
            output_features,
            &sender_offset_public_key,
            Some(partial_commitment_nonce),
            None,
        )
    }
pub fn create_partial_metadata_signature ( value : & MicroTari , spending_key : & BlindingFactor , script : & TariScript , output_features : & OutputFeatures , sender_offset_public_key : & PublicKey , partial_commitment_nonce : & PublicKey , ) -> Result < ComSignature , TransactionError > { TransactionOutput :: create_metadata_signature ( value , spending_key , script , output_features , & sender_offset_public_key , Some ( partial_commitment_nonce ) , None , ) }
Create partial commitment signature for the metadata, usually done by the receiver
Create partial commitment signature for the metadata usually done by the receiver
value
&MicroTari
spending_key
&BlindingFactor
script
&TariScript
output_features
&OutputFeatures
sender_offset_public_key
&PublicKey
partial_commitment_nonce
&PublicKey