Skip to main content

Module block

Module block 

Source
Expand description

Wire-shape mirror of tear_core::blocks::Block.

Lives in tear-types because the daemon’s wire layer needs the type but can’t depend on tear-core (no upward dep — tear-core depends on tear-types). The two crate’s Block structs share the same serde representation byte-for-byte; we use From conversions on the tear-core side to bridge.

Structs§

Block