Windows
fastest way to get back on mining on right chain is to resync with bootstrap
stop mining and exit your wallet
go to zettelkasten blockcahin folder -> %appdata%\ZettelKasten
and delete everything except zettelkasten.conf and wallet.dat
download and extract bootstrap
https://zettelkasten.org/downloads/bootstrap.zip
start wallet again
now after you done this it will take for some while, it need to reindex and sync to current block
corrupted database or on wrong chain -> resync with bootstrap or reindex
- mst100
- Posts: 83
- Joined: Mon Jun 11, 2018 1:32 pm
corrupted database or on wrong chain -> resync with bootstrap or reindex
ZcvzPTJrde6CTuJENp1ezyti9ji6s4qgGT
- mst100
- Posts: 83
- Joined: Mon Jun 11, 2018 1:32 pm
Re: When your database get corrupted or you end on wrong chain
Linux daemon
fastest way to get back on mining on right chain is to resync with bootstrap
if you already don't have installed unzip
stop your daemon:
go to zettel blockchain folder:
and delete everything except zettelkasten.conf and wallet.dat
download and extract bootstrap, and delete zipped bootstrap:
start daemon again:
all steps in one line:
now after you done this it will take for some while, it need to reindex and sync to current block
fastest way to get back on mining on right chain is to resync with bootstrap
if you already don't have installed unzip
Code: Select all
sudo apt install unzip
Code: Select all
cd ~/zettelkasten/src
./zettelkastend stop
Code: Select all
cd ~/.zettelkasten
Code: Select all
rm -Rf blocks chainstate db.log debug.log peers.dat
Code: Select all
wget https://zettelkasten.org/downloads/bootstrap.zip
unzip bootstrap.zip
rm -f bootstrap.zip
Code: Select all
cd ~/zettelkasten/src
./zettelkastend
all steps in one line:
Code: Select all
cd ~/.zettelkasten && rm -Rf blocks chainstate db.log debug.log peers.dat && wget https://zettelkasten.org/downloads/bootstrap.zip && unzip bootstrap.zip && rm -f bootstrap.zip && cd ~/zettelkasten/src && ./zettelkastend
ZcvzPTJrde6CTuJENp1ezyti9ji6s4qgGT
- mst100
- Posts: 83
- Joined: Mon Jun 11, 2018 1:32 pm
Re: When your database get corrupted or you end on wrong chain
if even after bootstrap usage you get
: You need to rebuild the database using -reindex to change -txindex.
Do you want to rebuild the block database now?
do CTRL+C
and
./zettelkastend -reindex
it will took some time till reindex
: You need to rebuild the database using -reindex to change -txindex.
Do you want to rebuild the block database now?
do CTRL+C
and
./zettelkastend -reindex
it will took some time till reindex
ZcvzPTJrde6CTuJENp1ezyti9ji6s4qgGT