We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 761adca commit 722692dCopy full SHA for 722692d
1 file changed
mempool/cat/pool.go
@@ -570,7 +570,7 @@ func (txmp *TxPool) Update(
570
txKey := tx.Key()
571
wtx := txmp.store.get(txKey)
572
txmp.removeTxByKey(txKey)
573
- // Record user-submitted tx latency before removal
+ // Record user-submitted tx latency = block receive time - tx receive time
574
if wtx != nil && wtx.fromBroadcast {
575
txmp.metrics.UserTxLatency.Observe(time.Since(wtx.timestamp).Seconds())
576
}
0 commit comments