pub fn blockhash<IT: ITy, H: Host + ?Sized>(
context: InstructionContext<'_, H, IT>,
) -> InstructionExecResultExpand description
Implements the BLOCKHASH instruction.
Gets the hash of one of the 256 most recent complete blocks.
pub fn blockhash<IT: ITy, H: Host + ?Sized>(
context: InstructionContext<'_, H, IT>,
) -> InstructionExecResultImplements the BLOCKHASH instruction.
Gets the hash of one of the 256 most recent complete blocks.