mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-05 18:42:19 +00:00
evict
This commit is contained in:
parent
d9dae8199b
commit
7a48420c8f
@ -337,6 +337,7 @@ func (p *TxPool) OnNewBlock(tx kv.Tx, stateChanges map[string]senderInfo, unwind
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
// evict sendersInfo without txs
|
// evict sendersInfo without txs
|
||||||
if len(p.senderIDs) > MaxSendersInfoCache {
|
if len(p.senderIDs) > MaxSendersInfoCache {
|
||||||
for i := range p.senderInfo {
|
for i := range p.senderInfo {
|
||||||
@ -351,6 +352,7 @@ func (p *TxPool) OnNewBlock(tx kv.Tx, stateChanges map[string]senderInfo, unwind
|
|||||||
delete(p.senderInfo, i)
|
delete(p.senderInfo, i)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user