// calculate the minimal gas price the miner accepts when sorting out transactions.
minprice:=gasprice(self.gasPrice,pct)
for_,tx:=rangetransactions{
for_,tx:=rangetransactions{
// We can skip err. It has already been validated in the tx pool
// We can skip err. It has already been validated in the tx pool
from,_:=tx.From()
from,_:=tx.From()
// check if it falls within margin
iftx.GasPrice().Cmp(minprice)<0{
// ignore the transaction and transactor. We ignore the transactor
// because nonce will fail after ignoring this transaction so there's
// no point
ignoredTransactors.Add(from)
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])
continue
}
// Move on to the next transaction when the transactor is in ignored transactions set
// Move on to the next transaction when the transactor is in ignored transactions set
// This may occur when a transaction hits the gas limit. When a gas limit is hit and
// This may occur when a transaction hits the gas limit. When a gas limit is hit and
// the transaction is processed (that could potentially be included in the block) it
// the transaction is processed (that could potentially be included in the block) it