erigon-pulse/consensus
Mark Holt f99f326363
Bor fix frozen snapshot load (#8305)
This is a fix for at least one cause of this isssue:
https://github.com/ledgerwatch/erigon/issues/8212.

It happens after the end of the snapshot load, because the snapshot
processing which was introduced a couple of month ago does not deal with
validation of the headers at the start of the start of the chain.

I have also added a fix to the persistence so that the last snapshot is
recorded so that subsequent runs are not forced to process the whole
snapshot run from start.

The relationship between this an memory usage is that the fact that
headers are not processed leads to a queue of pending headers with size
of around 5GB. I have not changed any header parameters - so likely a
prolonged stop to header processing will result in a similar level of
memory growth.
2023-09-27 13:45:09 +01:00
..
aura Move ApplyDAOHardFork & UpgradeBuildInSystemContract to engine.Initialize (#8095) 2023-08-30 15:51:19 +02:00
bor Bor fix frozen snapshot load (#8305) 2023-09-27 13:45:09 +01:00
clique Move ApplyDAOHardFork & UpgradeBuildInSystemContract to engine.Initialize (#8095) 2023-08-30 15:51:19 +02:00
ethash Remove unused metrics and out of date versions (#8109) 2023-09-01 07:13:13 +07:00
merge Verify excessBlobGas (EIP-4844) (#8269) 2023-09-22 11:52:33 +02:00
misc Verify excessBlobGas (EIP-4844) (#8269) 2023-09-22 11:52:33 +02:00
chain_reader.go Add FrozenBlocks function to chainReaders (#7866) 2023-07-10 17:35:27 +01:00
consensus.go Move ApplyDAOHardFork & UpgradeBuildInSystemContract to engine.Initialize (#8095) 2023-08-30 15:51:19 +02:00
errors.go Don't mark blocks as bad on transient errors (#8197) 2023-09-17 11:14:36 +02:00
result.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00