Function tari_wallet_ffi::wallet_set_low_power_mode [−][src]
#[no_mangle]pub unsafe extern "C" fn wallet_set_low_power_mode(
wallet: *mut TariWallet,
error_out: *mut c_int
)
Set the power mode of the wallet to Low Power mode which will reduce the amount of network operations the wallet performs to conserve power
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.
Safety
None