Commiting to show problem code
Stuck on 'unable to infer enough type info'
Parser with next_block_header function