CompactBlock

/// 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.
pub struct CompactBlock {
    /// The header with metadata and commitments to the rest of the data
    pub header: BlockHeader,
    /// Nonce for connection specific short_ids
    pub nonce: u64,
    /// Container for out_full, kern_full and kern_ids in the compact block.
    body: CompactBlockBody,
}

results matching ""

    No results matching ""