From 7118581b3b8a6c6ef78756f144b0e1d8ebf36412 Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Wed, 16 May 2018 14:30:12 +0200 Subject: [PATCH] Add logging to utxo mempool --- bchain/mempool_utxo.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bchain/mempool_utxo.go b/bchain/mempool_utxo.go index 6f90c1c2..6c6ba68b 100644 --- a/bchain/mempool_utxo.go +++ b/bchain/mempool_utxo.go @@ -55,6 +55,7 @@ func NewUTXOMempool(chain BlockChain) *UTXOMempool { } }(i) } + glog.Info("mempool: starting with ", numberOfSyncRoutines, " workers") return m } @@ -177,6 +178,6 @@ func (m *UTXOMempool) Resync(onNewTxAddr func(txid string, addr string)) error { } m.updateMappings(newTxToInputOutput, newAddrIDToTx) m.onNewTxAddr = nil - glog.Info("Mempool: resync finished in ", time.Since(start), ", ", len(m.txToInputOutput), " transactions in mempool") + glog.Info("mempool: resync finished in ", time.Since(start), ", ", len(m.txToInputOutput), " transactions in mempool") return nil }