glog.V(logger.Detail).Infof("Bad uncle found and will be removed (%x)\n",hash[:4])
glog.V(logger.Detail).Infoln(uncle)
}
badUncles=append(badUncles,hash)
}else{
glog.V(logger.Debug).Infof("commiting %x as uncle\n",hash[:4])
uncles=append(uncles,uncle.Header())
}
}
// We only care about logging if we're actually mining
ifatomic.LoadInt32(&self.mining)==1{
glog.V(logger.Info).Infof("commit new work on block %v with %d txs & %d uncles. Took %v\n",current.block.Number(),current.tcount,len(uncles),time.Since(tstart))
// We only care about logging if we're actually mining.
ifatomic.LoadInt32(&self.mining)==1{
glog.V(logger.Info).Infof("commit new work on block %v with %d txs & %d uncles. Took %v\n",current.block.Number(),current.tcount,len(uncles),time.Since(tstart))
// ignore the transaction and transactor. We ignore the transactor
// because nonce will fail after ignoring this transaction so there's
// no point
current.lowGasTransactors.Add(from)
env.lowGasTransactors.Add(from)
glog.V(logger.Info).Infof("transaction(%x) below gas price (tx=%v ask=%v). All sequential txs from this address(%x) will be ignored\n",tx.Hash().Bytes()[:4],common.CurrencyToString(tx.GasPrice()),common.CurrencyToString(self.gasPrice),from[:4])
glog.V(logger.Info).Infof("transaction(%x) below gas price (tx=%v ask=%v). All sequential txs from this address(%x) will be ignored\n",tx.Hash().Bytes()[:4],common.CurrencyToString(tx.GasPrice()),common.CurrencyToString(gasPrice),from[:4])
}
// Continue with the next transaction if the transaction sender is included in
// the low gas tx set. This will also remove the tx and all sequential transaction
// from this transactor
ifcurrent.lowGasTransactors.Has(from){
ifenv.lowGasTransactors.Has(from){
// add tx to the low gas set. This will be removed at the end of the run