AddLocals enqueues a batch of transactions into the pool if they are valid, marking the senders as a local ones in the mean time, ensuring they go around the local pricing constraints.
(txs []*types.Transaction)
| 899 | // marking the senders as a local ones in the mean time, ensuring they go around |
| 900 | // the local pricing constraints. |
| 901 | func (pool *TxPool) AddLocals(txs []*types.Transaction) []error { |
| 902 | return pool.addTxs(txs, !pool.config.NoLocals) |
| 903 | } |
| 904 | |
| 905 | // AddRemotes enqueues a batch of transactions into the pool if they are valid. |
| 906 | // If the senders are not among the locally tracked ones, full pricing constraints |