Function stackmate::sync_history[][src]

#[no_mangle]
pub unsafe extern "C" fn sync_history(
    deposit_desc: *const c_char,
    node_address: *const c_char
) -> *mut c_char
Expand description

Syncs to a remote node and fetches history of a descriptor wallet.

Safety

  • This function is unsafe because it dereferences and returns raw pointer.
  • ENSURE that result is passed into cstring_free(ptr: *mut c_char) after use.