mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
s
This commit is contained in:
parent
e866d47c1b
commit
a5f7d205e0
@ -941,7 +941,6 @@ func (p *TxPool) AddNewGoodPeer(peerID PeerID) { p.recentlyConnectedPeers.AddPee
|
|||||||
func (p *TxPool) Started() bool { return p.protocolBaseFee.Load() > 0 }
|
func (p *TxPool) Started() bool { return p.protocolBaseFee.Load() > 0 }
|
||||||
|
|
||||||
func (p *TxPool) OnNewTxs(ctx context.Context, coreDB kv.RoDB, newTxs TxSlots, senders *SendersCache) error {
|
func (p *TxPool) OnNewTxs(ctx context.Context, coreDB kv.RoDB, newTxs TxSlots, senders *SendersCache) error {
|
||||||
defer func(t time.Time) { fmt.Printf("pool.go:944: %s\n", time.Since(t)) }(time.Now())
|
|
||||||
p.lock.Lock()
|
p.lock.Lock()
|
||||||
defer p.lock.Unlock()
|
defer p.lock.Unlock()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user