code: func (msg *MsgBlock) TxHashes() ([]chainhash.Hash, error) {
  	hashList := make([]chainhash.Hash, 0, len(msg.Transactions))
  	for _, tx := range msg.Transactions {
  		hashList = append(hashList, tx.TxHash())
  	}
  	return hashList, nil
  }
docs: // TxHashes returns a slice of hashes of all of transactions in this block.