[][src]Function grin_chain::pipe::process_block_header

pub fn process_block_header(
    header: &BlockHeader,
    ctx: &mut BlockContext
) -> Result<(), Error>

Process a block header. Update the header MMR and corresponding header_head if this header increases the total work relative to header_head. Note: In contrast to processing a full block we treat "already known" as success to allow processing to continue (for header itself).