@@ -147,7 +147,7 @@ func (s *TXPoolServer) movePendingTxToPool(txEntry *tc.VerifiedTx) { //solve the
147147
148148 errCode := s .txPool .AddTxList (txEntry )
149149 s .removePendingTxLocked (txEntry .Tx .Hash (), errCode )
150- log . Infof ("tx moved from pending pool to tx pool: %s, err: %s" , txEntry .Tx .Hash ().ToHexString (), errCode .Error ())
150+ tc . ShowTraceLog ("tx moved from pending pool to tx pool: %s, err: %s" , txEntry .Tx .Hash ().ToHexString (), errCode .Error ())
151151}
152152
153153// removes a transaction from the pending list
@@ -158,7 +158,7 @@ func (s *TXPoolServer) removePendingTx(hash common.Uint256, err errors.ErrCode)
158158 s .mu .Lock ()
159159 s .removePendingTxLocked (hash , err )
160160 s .mu .Unlock ()
161- log . Infof ("transaction removed from pending pool: %s, err: %s" , hash .ToHexString (), err .Error ())
161+ tc . ShowTraceLog ("transaction removed from pending pool: %s, err: %s" , hash .ToHexString (), err .Error ())
162162}
163163
164164func (s * TXPoolServer ) broadcastTx (pt * serverPendingTx ) {
@@ -228,7 +228,7 @@ func (s *TXPoolServer) startTxVerify(tx *txtypes.Transaction, sender tc.SenderTy
228228 return false
229229 }
230230
231- log . Infof ("transaction added to pending pool: %s" , tx .Hash ().ToHexString ())
231+ tc . ShowTraceLog ("transaction added to pending pool: %s" , tx .Hash ().ToHexString ())
232232
233233 if tx := s .getTransaction (tx .Hash ()); tx != nil {
234234 log .Debugf ("verifyTx: transaction %x already in the txn pool" , tx .Hash ())
@@ -274,11 +274,10 @@ func (s *TXPoolServer) getTxPool(byCount bool, height uint32) []*tc.VerifiedTx {
274274
275275 for _ , t := range oldTxList {
276276 s .reVerifyStateful (t , tc .NilSender )
277- log . Infof ("reverify transaction : %s" , t .Hash ().ToHexString ())
277+ tc . ShowTraceLog ("reverify transaction : %s" , t .Hash ().ToHexString ())
278278 }
279279
280280 log .Infof ("get tx pool valid: %d, expired: %d" , len (avlTxList ), len (oldTxList ))
281-
282281 return avlTxList
283282}
284283
@@ -369,7 +368,7 @@ func (s *TXPoolServer) reVerifyStateful(tx *txtypes.Transaction, sender tc.Sende
369368 return
370369 }
371370
372- log . Infof ("tx added to pending pool for reverify: %s" , tx .Hash ().ToHexString ())
371+ tc . ShowTraceLog ("tx added to pending pool for reverify: %s" , tx .Hash ().ToHexString ())
373372
374373 pt .checkingStatus .SetStateless ()
375374 s .stateful .SubmitVerifyTask (tx , s .rspCh )
0 commit comments