feat: make stealth addresses the default for one sided in ffi
Description
Make stealth addresses the default for one sided in ffi
Motivation and Context
How Has This Been Tested?
@@ -5449,15 +5449,18 @@ pub unsafe extern "C" fn wallet_send_transaction(
};
if one_sided {
- match (*wallet)
- .runtime
- .block_on((*wallet).wallet.transaction_service.send_one_sided_transaction(
+ match (*wallet).runtime.block_on(
+ (*wallet)
+ .wallet
+ .transaction_service
+ .send_one_sided_to_stealth_address_transaction(
(*dest_public_key).clone(),
MicroTari::from(amount),
OutputFeatures::default(),
MicroTari::from(fee_per_gram),
message_string,
- )) {
+ ),
+ ) {
Ok(tx_id) => tx_id.as_u64(),
Err(e) => {
error = LibWalletError::from(WalletError::TransactionServiceError(e)).code;
@@ -6275,6 +6278,8 @@ pub unsafe extern "C" fn wallet_get_public_key(wallet: *mut TariWallet, error_ou
/// `script_private_key` - Tari script private key, k_S, is used to create the script signature
/// `covenant` - The covenant that will be executed when spending this output
/// `message` - The message that the transaction will have
+/// `encrypted_value` - Encrypted value.
+/// `minimum_value_promise` - The minimum value of the commitment that is proven by the range proof
/// `error_out` - Pointer to an int which will be modified to an error code should one occur, may not be null. Functions
/// as an out parameter.
///
