Bitcoin Forum
June 14, 2024, 10:47:06 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I "restart with -reindex-chainstate."?  (Read 85 times)
Axdiamond (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 5


View Profile
August 17, 2023, 06:19:22 AM
Merited by NotATether (5)
 #1

Downloading the 577GB blockchain on a late 2013 MacBook Pro is impossible.  Even at 450Mbps internet, the processor slows down at 86% and never finished even 3 weeks later.

A family member with a newer mac downloaded the blockchain weeks ago.
I copied all 577GB from them today.

They are using Mac OS 10.9 and an OLDER bitcoin core release from at least a year ago.

Now the OLDER but completely up to date blockchain data is NOT compatible with the latest version 25.
I get this error at startup:

"Error: Unsupported chainstate database format found. Please restart with -reindex-chainstate. This will rebuild the chainstate database."

Redownloading the blockchain is not an option.
How do I make this work?
How can I restart "with -reindex-chainstate" when the version 25 locks up with that error message then quits after I hit "ok"?
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6896


bitcoincleanup.com / bitmixlist.org


View Profile WWW
August 17, 2023, 06:49:04 AM
 #2

It depends on how you installed Bitcoin Core.

If it is through a DMG file, the Bitcoin Core executable will be located somewhere in /Applications. In that case, locate the binary (it should be called something like Bitcoin Core or bitcoin-qt) and use one of these methods to pass the -reindex-chainstate argument to it via Terminal.

If installed by homebrew or some other command-line method, it will be in /usr/bin or /usr/local/bin, and you can simply run: $(which bitcoin-qt) -reindex-chainstate in Terminal.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
LoyceV
Legendary
*
Online Online

Activity: 3346
Merit: 16829


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 17, 2023, 08:31:05 AM
 #3

Downloading the 577GB blockchain on a late 2013 MacBook Pro is impossible.  Even at 450Mbps internet, the processor slows down at 86% and never finished even 3 weeks later.
Your internet speed doesn't matter here, the limitations are CPU, disk and RAM (dbcache). The hardware is old, but 10 years should still be doable. My laptop is old, but 16 GB RAM and SSD makes all the difference.

Quote
"Error: Unsupported chainstate database format found. Please restart with -reindex-chainstate. This will rebuild the chainstate database."
Did you also copy the chainstate directory? I've never had any problems when upgrading Bitcoin Core to a newer version, so it could be something went wrong with your copy.

Quote
Redownloading the blockchain is not an option.
Just a heads up: -reindex-chainstate is going to take a while too.



Are you sure you want to use Bitcoin Core if your computer has such a hard time with it? Electrum for instance is much lighter to run.

DaveF
Legendary
*
Offline Offline

Activity: 3514
Merit: 6342


Crypto Swap Exchange


View Profile WWW
August 17, 2023, 12:17:08 PM
 #4

Keep in mind what I posted over a year ago: https://bitcointalk.org/index.php?topic=5399730

Yes you can get it running on a 2013MBP but it's never going to be good. Just due to the way Apple did things the hardware in that unit was not the fastest out there. It will be a good learning experience for you, but it's never going to be a good way to run core.

And running something like the reindex is going to take a long time due to hardware limitations.

-Dave

 

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
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!