Bitcoin Forum
April 26, 2024, 09:36:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core .16 freezes and can't resync the blocks  (Read 97 times)
codenameb0b (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 26, 2018, 03:06:57 AM
 #1

I got an error message for a fatal error with the database and Bitcoin Core quit, when it starts it attempts to resync but it always freezes around block 255672.

I've tried to start it with bitcoin-qt -reindex but I get the same result after several attempts

I deleted all the blocks and restarted and it downloaded for several hours and then I got this:

https://pastebin.com/uzwiZ7bL

I backed up my wallet.dat file through the GUI so I think my coin is safe.

How can this be repaired?

Thanks!
1714124160
Hero Member
*
Offline Offline

Posts: 1714124160

View Profile Personal Message (Offline)

Ignore
1714124160
Reply with quote  #2

1714124160
Report to moderator
1714124160
Hero Member
*
Offline Offline

Posts: 1714124160

View Profile Personal Message (Offline)

Ignore
1714124160
Reply with quote  #2

1714124160
Report to moderator
1714124160
Hero Member
*
Offline Offline

Posts: 1714124160

View Profile Personal Message (Offline)

Ignore
1714124160
Reply with quote  #2

1714124160
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714124160
Hero Member
*
Offline Offline

Posts: 1714124160

View Profile Personal Message (Offline)

Ignore
1714124160
Reply with quote  #2

1714124160
Report to moderator
Sellingaccs
Member
**
Offline Offline

Activity: 126
Merit: 50

Ask me for Pools, Nodes and Explorers.


View Profile
March 26, 2018, 06:50:56 AM
 #2

Well, probably the easiest method for you would be to copy the wallet.dat from the bitcoin folder located over at %appdata%
Then delete the whole Bitcoin data folder except for the wallet.dat. After that reinstall the client, make a bitcoin.conf file on the Bitcoin folder which you just deleted files from (be sure that you save the file as a .conf file, because windows does by default hide known file extensions and it would create a file called bitcoin.conf.txt.

I suggest you include the following on the bitcoin.conf file:
Code:
rpcallowip=127.0.0.1
rpcuser=jg842jgrepbjrw+wregkeofjewijfiewjfgewj
rpcpassword=53uireug08r4hgj40fu3jf43
prune=1000
daemon=1

That would sync the whole chain, and compress it to 1GB maximum so you don't have to use a whole disk for the whole blockchain.
Let me know if you have any addittional questions.

bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
March 26, 2018, 11:13:23 AM
 #3

Code:
2018-03-26 02:58:41 Rolling forward 00000000000000025511d5c4ce2b4259a2a09af4cb2a11c11a8847475ae4985d (273324)
2018-03-26 02:58:41 LevelDB read failure: Corruption: block checksum mismatch
2018-03-26 02:58:41 Corruption: block checksum mismatch
2018-03-26 02:58:41 Database corrupted


It seems that somehow block #273324 is corrupted.
You might try to delete this block from the application data directory (blk****.dat).
Afterwards start core with the -reindex startup command.

LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16551


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 26, 2018, 11:42:15 AM
 #4

I suggest you include the following on the bitcoin.conf file:
Code:
prune=1000

That would sync the whole chain, and compress it to 1GB maximum so you don't have to use a whole disk for the whole blockchain.
Let me know if you have any addittional questions.
Note that pruning the blockchain makes it impossible to load a different wallet.dat later on.
If you don't know what you're doing, I suggest to leave the settings at it's default value.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!