Expand description
Block types for Moloch.
Blocks batch audit events together and link to form the chain.
Structs§
- Block
- A complete block with header and events.
- Block
Builder - Builder for creating blocks.
- Block
Hash - Unique identifier for a block (hash of header).
- Block
Header - Block header containing metadata and proofs.
- Sealer
Id - Identifies a sealer (block producer).
Functions§
- compute_
events_ root - Compute the merkle root of a list of events.
- compute_
events_ root_ parallel - Compute the merkle root using parallel hashing.