mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
don't load everything on start
This commit is contained in:
parent
1da85f4dc9
commit
7b3b6d1ac8
@ -941,7 +941,6 @@ func (p *TxPool) flush(tx kv.RwTx, senders *SendersCache) error {
|
||||
if currentV != nil && bytes.Equal(currentV, v) {
|
||||
continue
|
||||
}
|
||||
fmt.Printf("put to db: %x\n", v[8+8:])
|
||||
if err := tx.Put(kv.PooledTransaction, []byte(txHash), v); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user