From cb79632225a55c62aef6cb34393019005fc126dd Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Thu, 14 Mar 2024 03:48:41 +0800 Subject: [PATCH] chain: downgrade loggings used in `getRawMempool` --- chain/mempool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/mempool.go b/chain/mempool.go index 09ebc976fe..983003300d 100644 --- a/chain/mempool.go +++ b/chain/mempool.go @@ -505,9 +505,9 @@ func (m *mempool) getRawMempool() ([]*chainhash.Hash, error) { func (m *mempool) batchGetRawTxes(txids []*chainhash.Hash, returnNew bool) ([]*wire.MsgTx, error) { - log.Debugf("Batching GetRawTransaction in %v batches...", + log.Tracef("Batching GetRawTransaction in %v batches...", uint32(len(txids))/m.cfg.getRawTxBatchSize+1) - defer log.Debugf("Finished batch GetRawTransaction") + defer log.Tracef("Finished batch GetRawTransaction") // txRecievers defines a map that has the txid as its key and the tx's // response reciever as its value.