You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// calculate the minimal gas price the miner accepts when sorting out transactions.
281
+
minprice:=gasprice(self.gasPrice, pct)
262
282
for_, tx:=rangetransactions {
263
283
// We can skip err. It has already been validated in the tx pool
264
284
from, _:=tx.From()
285
+
286
+
// check if it falls within margin
287
+
iftx.GasPrice().Cmp(minprice) <0 {
288
+
// ignore the transaction and transactor. We ignore the transactor
289
+
// because nonce will fail after ignoring this transaction so there's
290
+
// no point
291
+
ignoredTransactors.Add(from)
292
+
glog.V(logger.Info).Infof("transaction(%x) below gas price (<%d%% ask price). All sequential txs from this address(%x) will fail\n", tx.Hash().Bytes()[:4], pct, from[:4])
293
+
continue
294
+
}
295
+
265
296
// Move on to the next transaction when the transactor is in ignored transactions set
266
297
// This may occur when a transaction hits the gas limit. When a gas limit is hit and
267
298
// the transaction is processed (that could potentially be included in the block) it
0 commit comments