add txpool tables

This commit is contained in:
alex.sharov 2021-08-17 10:32:18 +07:00
parent de4c298281
commit 601e5fa443
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ type Timings struct {
var DefaultTimings = Timings{
syncToNewPeersEvery: 2 * time.Minute,
logEvery: 30 * time.Second,
logEvery: 10 * time.Second,
}
// NewFetch creates a new fetch object that will work with given sentry clients. Since the

View File

@ -331,6 +331,7 @@ func (p *TxPool) setBaseFee(protocolBaseFee, pendingBaseFee uint64) (uint64, uin
if hasNewVal {
p.protocolBaseFee.Store(pendingBaseFee)
}
log.Debug("set base fee", "protocol", protocolBaseFee, "pending", pendingBaseFee)
return protocolBaseFee, p.pendingBaseFee.Load()
}