AddRemote enqueues a single transaction into the pool if it is valid. If the sender is not among the locally tracked ones, full pricing constraints will apply.
(tx *types.Transaction)
| 892 | // sender is not among the locally tracked ones, full pricing constraints will |
| 893 | // apply. |
| 894 | func (pool *TxPool) AddRemote(tx *types.Transaction) error { |
| 895 | return pool.addTx(tx, false) |
| 896 | } |
| 897 | |
| 898 | // AddLocals enqueues a batch of transactions into the pool if they are valid, |
| 899 | // marking the senders as a local ones in the mean time, ensuring they go around |