|
2 | 2 |
|
3 | 3 | import static org.tron.core.config.Parameter.ChainConstant.SOLIDIFIED_THRESHOLD; |
4 | 4 | import static org.tron.core.config.Parameter.NodeConstant.MAX_TRANSACTION_PENDING; |
5 | | -import static org.tron.protos.Protocol.Transaction.Contract.ContractType.TransferAssetContract; |
6 | | -import static org.tron.protos.Protocol.Transaction.Contract.ContractType.TransferContract; |
7 | 5 |
|
8 | 6 | import com.google.common.cache.Cache; |
9 | 7 | import com.google.common.cache.CacheBuilder; |
|
46 | 44 | import org.tron.common.utils.SessionOptional; |
47 | 45 | import org.tron.common.utils.Sha256Hash; |
48 | 46 | import org.tron.common.utils.StringUtil; |
49 | | -import org.tron.common.utils.Time; |
50 | 47 | import org.tron.core.Constant; |
51 | 48 | import org.tron.core.capsule.AccountCapsule; |
52 | 49 | import org.tron.core.capsule.BlockCapsule; |
|
73 | 70 | import org.tron.core.exception.ContractValidateException; |
74 | 71 | import org.tron.core.exception.DupTransactionException; |
75 | 72 | import org.tron.core.exception.HeaderNotFound; |
76 | | -import org.tron.core.exception.HighFreqException; |
77 | 73 | import org.tron.core.exception.ItemNotFoundException; |
78 | 74 | import org.tron.core.exception.NonCommonBlockException; |
79 | 75 | import org.tron.core.exception.ReceiptCheckErrException; |
|
90 | 86 | import org.tron.core.witness.ProposalController; |
91 | 87 | import org.tron.core.witness.WitnessController; |
92 | 88 | import org.tron.protos.Protocol.AccountType; |
93 | | -import org.tron.protos.Protocol.Transaction; |
94 | 89 |
|
95 | 90 |
|
96 | 91 | @Slf4j |
@@ -309,9 +304,9 @@ public Set<Node> readNeighbours() { |
309 | 304 | logger.error(ex.getMessage()); |
310 | 305 | Thread.currentThread().interrupt(); |
311 | 306 | } catch (Exception ex) { |
312 | | - logger.error("unknown exception happened in witness loop", ex); |
| 307 | + logger.error("unknown exception happened in repush loop", ex); |
313 | 308 | } catch (Throwable throwable) { |
314 | | - logger.error("unknown throwable happened in witness loop", throwable); |
| 309 | + logger.error("unknown throwable happened in repush loop", throwable); |
315 | 310 | } |
316 | 311 | } |
317 | 312 | }; |
|
0 commit comments