code: func (bc *BlockChain) GetBlocksFromHash(hash common.Hash, n int) (blocks []*types.Block) {
  	number := bc.hc.GetBlockNumber(hash)
  	if number == nil {
  		return nil
  	}
  	for i := 0; i < n; i++ {
  		block := bc.GetBlock(hash, *number)
  		if block == nil {
  			break
  		}
  		blocks = append(blocks, block)
  		hash = block.ParentHash()
  		*number--
  	}
  	return
  }
docs: // GetBlocksFromHash returns the block corresponding to hash and up to n-1 ancestors.
  // [deprecated by eth/62]