// stats retrieves the current pool stats, namely the number of pending and the
// number of queued (non-executable) transactions.
stats retrieves the current pool stats, namely the number of pending and the
number of queued (non-executable) transactions.
// stats retrieves the current pool stats namely the number of pending and the // number of queued ( non - executable ) transactions .
func (nPool *NormalTxPool) stats() (int, int) {
	pending := 0
	for _, list := range nPool.pending {
		for _, txs := range list.txs {
			pending += txs.Len()
		}
	}
	queued := 0
	return pending, queued
}
func ( nPool * NormalTxPool ) stats ( ) ( int , int ) { pending := 0 for _ , list := range nPool . pending { for _ , txs := range list . txs { pending += txs . Len ( ) } } queued := 0 return pending , queued }
stats retrieves the current pool stats, namely the number of pending and the
number of queued (non-executable) transactions.
stats retrieves the current pool stats namely the number of pending and the number of queued ( non - executable ) transactions .