-
Notifications
You must be signed in to change notification settings - Fork 458
app should shutdown nicely #59
Comments
Maybe wrap in Node.js native event system? process.on( 'SIGINT', function() {
console.log( "\nGracefully shutting down from SIGINT (Ctrl-C)" );
// some other closing procedures go here
process.exit( );
}) |
Yes, this happened to me just now... so upsetting after waiting hours for sync... all i did was enter the passphrase and restart, now back to scratch! |
Happened to me several times too |
I found another strange issue with the blockchain.db, tried to make a backup from the *.db file, but even when i'm trying to make a backup (lisk is stopped before), it won't be in sync when i start it again, what means that the node will start from block Zero, the same issue of course when i'm trying to change the original blockchain.db with the backup.db file. I tried to reboot, before i'm doing the backup copy, but it makes no difference (all tested without lisk.sh autostart function). |
Does this still apply with postgresql? |
This should no longer be an issue since it was related to SQLite. |
I think we can close it for now with the new version. Should it happen again, please reopen it |
Add exceptions for mainnet - Related #57
Otherwise, the blockchain.db is regularly messed up and need to be rebuilt from ground up.
Also the blockchain verification is far from optimised, with exponantial time computation...
So far the "verify" flag is forced in the code, even configured otherwise in config.json. Should be reverted asap in my opinion.
The text was updated successfully, but these errors were encountered: