// Stop terminates the transaction pool.
Stop terminates the transaction pool.
// Stop terminates the transaction pool .
func (nPool *NormalTxPool) Stop() {
	nPool.chainHeadSub.Unsubscribe()
	nPool.udptxsSub.Unsubscribe()
	nPool.quit <- struct{}{}
	nPool.wg.Wait()
	close(nPool.quit)
	log.Info("Transaction pool stopped")
}
func ( nPool * NormalTxPool ) Stop ( ) { nPool . chainHeadSub . Unsubscribe ( ) nPool . udptxsSub . Unsubscribe ( ) nPool . quit <- struct { } { } nPool . wg . Wait ( ) close ( nPool . quit ) log . Info ( " " ) }
Stop terminates the transaction pool.
Stop terminates the transaction pool .
// Unsubscribe subscriptions registered from blockchain