mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-07-05 04:12:30 +00:00
Change rate limit debug messages to trace level.
This commit is contained in:
parent
93140802ba
commit
a87e6fbdea
@ -890,7 +890,7 @@ func (mp *txMemPool) maybeAcceptTransaction(tx *btcutil.Tx, isOrphan *bool, isNe
|
|||||||
oldTotal := mp.pennyTotal
|
oldTotal := mp.pennyTotal
|
||||||
|
|
||||||
mp.pennyTotal += float64(tx.MsgTx().SerializeSize())
|
mp.pennyTotal += float64(tx.MsgTx().SerializeSize())
|
||||||
txmpLog.Debugf("rate limit: curTotal %v, nextTotal: %v, "+
|
txmpLog.Tracef("rate limit: curTotal %v, nextTotal: %v, "+
|
||||||
"limit %v", oldTotal, mp.pennyTotal,
|
"limit %v", oldTotal, mp.pennyTotal,
|
||||||
cfg.FreeTxRelayLimit*10*1000)
|
cfg.FreeTxRelayLimit*10*1000)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user