/// Signs a reduced transaction (generating proofs for inputs)
Signs a reduced transaction (generating proofs for inputs)
Signs a reduced transaction ( generating proofs for inputs )
pub unsafe fn wallet_sign_reduced_transaction(
    wallet_ptr: ConstWalletPtr,
    reduced_tx_ptr: ConstReducedTransactionPtr,
    transaction_out: *mut TransactionPtr,
) -> Result<(), Error> {
    let wallet = const_ptr_as_ref(wallet_ptr, "wallet_ptr")?;
    let reduced_tx = const_ptr_as_ref(reduced_tx_ptr, "reduced_tx_ptr")?;
    let transaction_out = mut_ptr_as_mut(transaction_out, "transaction_out")?;
    let tx = wallet
        .0
        .sign_reduced_transaction(reduced_tx.0.clone(), None)
        .map(Transaction)?;
    *transaction_out = Box::into_raw(Box::new(tx));
    Ok(())
}
pub unsafe fn wallet_sign_reduced_transaction ( wallet_ptr : ConstWalletPtr , reduced_tx_ptr : ConstReducedTransactionPtr , transaction_out : * mut TransactionPtr , ) -> Result < ( ) , Error > { let wallet = const_ptr_as_ref ( wallet_ptr , " " ) ? ; let reduced_tx = const_ptr_as_ref ( reduced_tx_ptr , " " ) ? ; let transaction_out = mut_ptr_as_mut ( transaction_out , " " ) ? ; let tx = wallet . 0 . sign_reduced_transaction ( reduced_tx . 0 . clone ( ) , None ) . map ( Transaction ) ? ; * transaction_out = Box :: into_raw ( Box :: new ( tx ) ) ; Ok ( ( ) ) }
Signs a reduced transaction (generating proofs for inputs)
Signs a reduced transaction ( generating proofs for inputs )
wallet_ptr
ConstWalletPtr
reduced_tx_ptr
ConstReducedTransactionPtr
transaction_out
*mut TransactionPtr