erigon-pulse/consensus/bor
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
..
abi Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
clerk Bor span testing (#7897) 2023-07-18 09:47:04 +01:00
contract Snapshots of Bor events (#7901) 2023-08-18 17:10:35 +01:00
heimdall Bor break loop onrewind (#8302) 2023-09-27 13:17:54 +01:00
heimdallgrpc Milestone stage processing (#8187) 2023-09-18 18:05:33 +01:00
statefull Snapshots of Bor events (#7901) 2023-08-18 17:10:35 +01:00
valset [devnet] Always select first node, fix configuration mess up between nodes (#7863) 2023-07-10 11:37:55 +01:00
api.go Milestone stage processing (#8187) 2023-09-18 18:05:33 +01:00
bor_test.go Get vote on hash (#8172) 2023-09-13 11:49:49 +01:00
bor.go Bor fix frozen snapshot load (#8305) 2023-09-27 13:45:09 +01:00
errors.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
fake.go Move ApplyDAOHardFork & UpgradeBuildInSystemContract to engine.Initialize (#8095) 2023-08-30 15:51:19 +02:00
genesis_contract_mock.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
genesis.go Snapshots of Bor events (#7901) 2023-08-18 17:10:35 +01:00
merkle.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
snapshot_test.go Bor span testing (#7897) 2023-07-18 09:47:04 +01:00
snapshot.go Bor fix frozen snapshot load (#8305) 2023-09-27 13:45:09 +01:00
span_mock.go consensus/bor: use current producers for extra data validation (#7564) 2023-05-24 12:57:31 +07:00
span.go consensus/bor: use current producers for extra data validation (#7564) 2023-05-24 12:57:31 +07:00