pub unsafe extern "C" fn gr_create_program(
cid_value: *const HashWithValue,
salt: *const u8,
salt_len: u32,
payload: *const u8,
payload_len: u32,
delay: u32,
err_mid_pid: *mut ErrorWithTwoHashes,
)Expand description
Fallible gr_create_program send syscall.
Arguments type:
cid_value:const ptrfor concatenated code id and value.salt:const ptrfor the begging of the salt buffer.salt_len:u32length of the salt buffer.payload:const ptrfor the begging of the payload buffer.payload_len:u32length of the payload buffer.delay:u32amount of blocks to delay.err_mid_pid:mut ptrfor concatenated error code, message id and program id.