code: func (h *HashCache) AddSigHashes(tx *wire.MsgTx) {
  	h.Lock()
  	h.sigHashes[tx.TxHash()] = NewTxSigHashes(tx)
  	h.Unlock()
  }
docs: // AddSigHashes computes, then adds the partial sighashes for the passed
  // transaction.