Function tari_wallet_ffi::wallet_get_pending_inbound_transactions [−][src]
#[no_mangle]pub unsafe extern "C" fn wallet_get_pending_inbound_transactions(
wallet: *mut TariWallet,
error_out: *mut c_int
) -> *mut TariPendingInboundTransactions
Get the TariPendingInboundTransactions from a TariWallet
Currently a CompletedTransaction with the Status of Completed and Broadcast is considered Pending by the frontend
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
*mut TariPendingInboundTransactions
- returns the transactions, note that it returns ptr::null_mut() if
wallet is null or and error is encountered
Safety
The pending_inbound_transactions_destroy
method must be called when finished with a
TariPendingInboundTransactions to prevent a memory leak