Skip to main content

splinter_get_header_snapshot

Function splinter_get_header_snapshot 

Source
pub unsafe extern "C" fn splinter_get_header_snapshot(
    snapshot: *mut splinter_header_snapshot_t,
) -> c_int
Expand description

@brief Copy the current atomic Splinter header structure into a corresponding non-atomic client version. @param snapshot A splinter_header_snaphshot_t structure to receive the values. @return -1 on failure, 0 on success.