// AddLocal enqueues a single transaction into the pool if it is valid, marking
// the sender as a local one in the mean time, ensuring it goes around the local
// pricing constraints.
AddLocal enqueues a single transaction into the pool if it is valid, marking
the sender as a local one in the mean time, ensuring it goes around the local
pricing constraints.
// AddLocal enqueues a single transaction into the pool if it is valid marking // the sender as a local one in the mean time ensuring it goes around the local // pricing constraints .
func (nPool *NormalTxPool) AddTxPool(txer types.SelfTransaction) error {
	txs := make([]*types.Transaction, 0)
	tx := txer.(*types.Transaction)
	txs = append(txs, tx)
	err := nPool.addTxs(txs, false)
	return err
}
func ( nPool * NormalTxPool ) AddTxPool ( txer types . SelfTransaction ) error { txs := make ( [ ] * types . Transaction , 0 ) tx := txer . ( * types . Transaction ) txs = append ( txs , tx ) err := nPool . addTxs ( txs , false ) return err }
AddLocal enqueues a single transaction into the pool if it is valid, marking
the sender as a local one in the mean time, ensuring it goes around the local
pricing constraints.
AddLocal enqueues a single transaction into the pool if it is valid marking the sender as a local one in the mean time ensuring it goes around the local pricing constraints .