Function unc_primitives::utils::create_data_id
source · pub fn create_data_id(
protocol_version: ProtocolVersion,
action_hash: &CryptoHash,
prev_block_hash: &CryptoHash,
block_hash: &CryptoHash,
data_index: usize
) -> CryptoHashExpand description
Creates a new data_id from a given action hash, a block hash and a data index.
This method is backward compatible, so it takes the current protocol version.