Objective: add backup and preload database feature.
Length: 1 month
Resources: @lam @0xkumi
Key results:
** Backup database at the end of each epoch (1 week)
** Preload database (if need) when joining committee (1 week)
** Deploy on testnet 31 July
Details:
– Occasionally, the network must upgrade database version which requires clear database and sync block from zero again. To improve the stability of the network, we should provide a fast mechanism to help Node catch up with the network as soon as possible.
- In this proposal, we add a feature for a fullnode to backup its database at every epoch, and a node can point to this trusted fullnode to preload the latest backup database.
- This preload feature could be applied in our Node community with our trusted backup fullnode.