Skip to main content

Crate hypercall_blocks

Crate hypercall_blocks 

Source
Expand description

Stable block-log wire types for Hypercall durability.

This crate deliberately owns plain data and deterministic hashing only. Runtime code is responsible for key management, signatures, WAL I/O, database writes, and on-chain submission.

Modulesยง

authority ๐Ÿ”’
entry ๐Ÿ”’
header ๐Ÿ”’

Structsยง

BlockLogEntry
Serializable block-log entry: signed header plus all command records.
BlockLogHeader
Serializable signed block header stored in the WAL block log.
SigningAuthority
Cold-key delegation authorizing a hot key to sign blocks for a time window.

Functionsยง

compute_commands_hash
Compute keccak256(cmd1_identity_hash || cmd2_identity_hash || ...).