Function tari_wallet_ffi::wallet_test_receive_transaction[][src]

#[no_mangle]pub unsafe extern "C" fn wallet_test_receive_transaction(
    wallet: *mut TariWallet,
    error_out: *mut c_int
) -> bool

This function simulates an external TariWallet sending a transaction to this TariWallet which will become a TariPendingInboundTransaction

Arguments

wallet - The TariWallet pointer 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.

Returns

bool - Returns if successful or not

Safety

None