Skip to main content

splinter_shard_is_sovereign

Function splinter_shard_is_sovereign 

Source
pub unsafe extern "C" fn splinter_shard_is_sovereign(
    shard_id: u32,
) -> c_int
Expand description

@brief Convenience: is shard_id the current sovereign? @return 1 if sovereign, 0 if not (including unknown/expired), -2 on no store.