code: func New(cfg *Config) *TxPool {
  	return &TxPool{
  		cfg:            *cfg,
  		pool:           make(map[chainhash.Hash]*TxDesc),
  		orphans:        make(map[chainhash.Hash]*orphanTx),
  		orphansByPrev:  make(map[wire.OutPoint]map[chainhash.Hash]*btcutil.Tx),
  		nextExpireScan: time.Now().Add(orphanExpireScanInterval),
  		outpoints:      make(map[wire.OutPoint]*btcutil.Tx),
  	}
  }
docs: // New returns a new memory pool for validating and storing standalone
  // transactions until they are mined into a block.