Bitcoin Forum
April 25, 2024, 03:46:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to re-verify blockchain using imported data  (Read 198 times)
ragnar dannesk gold (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 37


View Profile
February 20, 2019, 02:53:22 AM
 #1

I wanted to see how long my machine would take to re-verify the Bitcoin blockchain, but without having bandwidth limitations (so I still want to use the blockchain I have downloaded).

Is there a way to get Bitcoin core to use this data, but to not trust it? And re-verify from block 1?

I'm guessing I'd have to delete a file (possibly 'chainstate' folder?) and start Core again.

Any help is much appreciated!
1714060013
Hero Member
*
Offline Offline

Posts: 1714060013

View Profile Personal Message (Offline)

Ignore
1714060013
Reply with quote  #2

1714060013
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714060013
Hero Member
*
Offline Offline

Posts: 1714060013

View Profile Personal Message (Offline)

Ignore
1714060013
Reply with quote  #2

1714060013
Report to moderator
ragnar dannesk gold (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 37


View Profile
February 20, 2019, 03:14:26 AM
 #2

I see it will be:

-reindex-chainstate   Rebuild chain state from the currently indexed blocks
-reindex   Rebuild chain state and block index from the blk*.dat files on disk


I'm guessing reindex? Although I'm not sure of the difference. Anyone?
ragnar dannesk gold (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 37


View Profile
February 20, 2019, 03:44:55 AM
 #3

-reindex:


-reindex

Method not found (code -32601)

And

-verifychain  checks something but only takes 5 seconds to do.
JeromeTash
Legendary
*
Offline Offline

Activity: 2128
Merit: 1210


Heisenberg


View Profile
February 20, 2019, 05:47:42 AM
 #4

So sad no one is able to instantly help you from this board. Could you please try moving the topic to Bitcoin Technical Support?
You could easily get someone there with much more experience to help you out.
The move topic button is on the bottom left of your page. I hope you get helped out ASAP.

█████████████████████████
██
█████▀▀███████▀▀███████
█████▀░░▄███████▄░░▀█████
██▀░░██████▀░▀████░░▀██
██▀░░▀▀▀████████████░░▀██
██░░█▄████▀▀███▀█████░░██
██░░███▄▄███████▀▀███░░██
██░░█████████████████░░██
██▄░░████▄▄██████▄▄█░░▄██
██▄░░██████▄░░████░░▄██
█████▄░░▀███▌░░▐▀░░▄█████
███████▄▄███████▄▄███████
█████████████████████████
.
.ROOBET 2.0..██████.IIIIIFASTER & SLEEKER.██████.
|

█▄█
▀█▀
████▄▄██████▄▄████
█▄███▀█░░█████░░█▀███▄█
▀█▄▄░▐█████████▌▄▄█▀
██▄▄█████████▄▄████▌
██████▄▄████████
█▀▀████████████████
██████
█████████████
██
█▀▀██████████████
▀▀▀███████████▀▀▀▀
|.
    PLAY NOW    
ragnar dannesk gold (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 37


View Profile
February 20, 2019, 08:58:59 AM
Last edit: February 20, 2019, 10:10:19 AM by ragnar dannesk gold
Merited by DdmrDdmr (3), KingZee (1)
 #5

Thanks Jerome. I figured it out.

In case anyone else has this question, my problem was because I was using '-reindex' in the console, rather than adding it to the bitcoin-qt.exe to run (via command line- "Z:\Bitcoin\bitcoin-qt -reindex").

I am not sure whether deleting chainstate would have cause issues, but it does seem that reindex has done that and synced from block 1 to (currently) August 2018 in 3 hours using only 13MB of bandwidth. HDD bottlenecked for the first 8 years, and CPU for the last 2 years worth.

Edit - Finished reindex in ~4 Hours on a 5 year old PC (7200rpm HDD, i5 4690 CPU, 16gb RAM (dbcache set to 12,000)).
KingZee
Sr. Member
****
Offline Offline

Activity: 910
Merit: 452


Check your coin privilege


View Profile
February 21, 2019, 05:16:46 AM
 #6

Thanks Jerome. I figured it out.

In case anyone else has this question, my problem was because I was using '-reindex' in the console, rather than adding it to the bitcoin-qt.exe to run (via command line- "Z:\Bitcoin\bitcoin-qt -reindex").

I am not sure whether deleting chainstate would have cause issues, but it does seem that reindex has done that and synced from block 1 to (currently) August 2018 in 3 hours using only 13MB of bandwidth. HDD bottlenecked for the first 8 years, and CPU for the last 2 years worth.

Its nice you figured that on your own Smiley I was about to write a post telling you it's a runtime parameter, but here's a merit. Good luck running your node!

Beep boop beep boop
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!