code: func (bc *BlockChain) CurrentBlock() *types.Block {
  	return bc.currentBlock.Load().(*types.Block)
  }
docs: // CurrentBlock retrieves the current head block of the canonical chain. The
  // block is retrieved from the blockchain's internal cache.