Module grin_core::core::compact_block

source ·
Expand description

Compact Blocks.

Structs§

  • Compact representation of a full block. Each input/output/kernel is represented as a short_id. A node is reasonably likely to have already seen all tx data (tx broadcast before block) and can go request missing tx data from peers if necessary to hydrate a compact block into a full block.
  • Container for full (full) outputs and kernels and kern_ids for a compact block.
  • Compackt block which does lightweight validation as part of deserialization, it supposed to be used when we can’t trust the channel (eg network)