[][src]Function grin_chain::pipe::process_block

pub fn process_block(
    b: &Block,
    ctx: &mut BlockContext
) -> Result<Option<Tip>, Error>

Runs the block processing pipeline, including validation and finding a place for the new block in the chain. Returns new head if chain head updated.