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
}
// TxHashes returns a slice of hashes of all of transactions in this block.
TxHashes returns a slice of hashes of all of transactions in this block.
// TxHashes returns a slice of hashes of all of transactions in this block .
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
}
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 }
TxHashes returns a slice of hashes of all of transactions in this block.
TxHashes returns a slice of hashes of all of transactions in this block .