pocketnetteam / pocketnet.core

Decentralized social network based on the blockchain
https://pocketnet.app
Apache License 2.0
114 stars 28 forks source link

Implement automatic loading of the checkpoint database file in the absence or inconsistency of the file hash #182

Closed andyoknen closed 2 years ago

andyoknen commented 2 years ago

datadir/checkpoints/main.sqlite3 for main network datadir/testnet3/checkpoints/main.sqlite3 for test network

Latest checkpoint DB: https://github.com/pocketnetteam/pocketnet.core/releases/latest/download/main.sqlite3

andyoknen commented 2 years ago

Or implement another mechanism for skipping pre-known consensus issues

andyoknen commented 2 years ago

Due to the large size of the checkpoint database, it is not possible to use it in the source code. I suggest packing the main and test network checkpoints database into the installer and docker image.

The main problem may be installation in linux. Maybe we can use the /var/... or /opt/... directories