Jacek Sieka 68247f81b3
Trusted node sync (#3209)
* Trusted node sync

Trusted node sync, aka checkpoint sync, allows syncing tyhe chain from a
trusted node instead of relying on a full sync from genesis.

Features include:

* sync from any slot, including the latest finalized slot
* backfill blocks either from the REST api (default) or p2p (#3263)

Future improvements:

* top up blocks between head in database and some other node - this
makes for an efficient backup tool
* recreate historical state to enable historical queries

* fixes

* load genesis from network metadata
* check checkpoint block root against state
* fix invalid block root in rest json decoding
* odds and ends

* retry looking for epoch-boundary checkpoint blocks
2022-01-17 10:27:08 +01:00
..
2021-04-28 15:55:43 +02:00
2022-01-08 22:06:34 +02:00
2021-08-11 15:16:02 +02:00
2021-05-24 16:03:45 +02:00
2021-06-03 14:43:20 +02:00
2021-05-22 11:13:27 +02:00
2021-05-21 14:49:12 +02:00
2021-11-05 16:06:48 +02:00
2021-12-01 15:23:51 +01:00
2021-10-21 15:34:46 +02:00
2021-07-05 16:17:35 +02:00
2021-05-22 11:13:27 +02:00
2021-11-05 11:33:28 +01:00
2021-11-30 18:37:54 +01:00
2021-06-16 11:55:58 +02:00
2021-11-18 08:08:00 +00:00
2021-06-16 11:55:58 +02:00
2021-06-16 11:55:58 +02:00
2021-06-03 14:43:20 +02:00
2020-12-09 12:59:42 +01:00
2021-07-14 13:14:39 +02:00
2021-07-05 16:17:35 +02:00
2021-11-01 17:46:59 +01:00
2022-01-08 22:06:34 +02:00
2021-03-17 15:33:28 +01:00
2021-03-17 15:33:28 +01:00
2021-05-21 14:49:12 +02:00
2021-06-03 14:43:20 +02:00
2022-01-17 10:27:08 +01:00
2021-06-03 14:43:20 +02:00