Bitcoin Forum
May 11, 2024, 12:04:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to change the bitcoin core 's block's dir?  (Read 760 times)
girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 30, 2016, 01:10:10 AM
 #1

how to change the bitcoin core 's  blockchain data dir?


thx

1715385877
Hero Member
*
Offline Offline

Posts: 1715385877

View Profile Personal Message (Offline)

Ignore
1715385877
Reply with quote  #2

1715385877
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715385877
Hero Member
*
Offline Offline

Posts: 1715385877

View Profile Personal Message (Offline)

Ignore
1715385877
Reply with quote  #2

1715385877
Report to moderator
1715385877
Hero Member
*
Offline Offline

Posts: 1715385877

View Profile Personal Message (Offline)

Ignore
1715385877
Reply with quote  #2

1715385877
Report to moderator
1715385877
Hero Member
*
Offline Offline

Posts: 1715385877

View Profile Personal Message (Offline)

Ignore
1715385877
Reply with quote  #2

1715385877
Report to moderator
girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 30, 2016, 01:10:37 AM
 #2

with bitcoin core in windows

girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 30, 2016, 01:11:05 AM
 #3

any config or command ? thx a lot

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
September 30, 2016, 01:12:27 AM
 #4

See https://achow101.com/2016/07/Bitcoin-Core-Troubleshooting#windows-startup except don't remove the option after the startup.

The option you want to use is
Code:
-datadir=<path>
where <path> is the path to the new datadir.




Stop posting consecutively like that. Just make edits to your first post.

girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 30, 2016, 01:19:18 AM
 #5

See https://achow101.com/2016/07/Bitcoin-Core-Troubleshooting#windows-startup except don't remove the option after the startup.

The option you want to use is
Code:
-datadir=<path>
where <path> is the path to the new datadir.




Stop posting consecutively like that. Just make edits to your first post.

I am in windows ,how to change the <path>  like c:\bitcoin\bitcoindata

and how to get current dir?

thx a lot

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
September 30, 2016, 01:26:01 AM
 #6

I am in windows ,how to change the <path>  like c:\bitcoin\bitcoindata
The path is C:\bitcoin\bitcoindata

The option you would add is
Code:
-datadir=C:\bitcoin\bitcoindata

and how to get current dir?
Open it in windows explorer (the file explorer). Just click the top bar and it should give you the path to the folder.

girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 30, 2016, 01:28:05 AM
 #7


achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
September 30, 2016, 01:29:07 AM
 #8

Go to the second tab. Should be in there.

girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 30, 2016, 01:33:16 AM
 #9

  not found anywhere to edit the dir

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
September 30, 2016, 01:34:09 AM
 #10

Are you clicking on the shortcut or the exe file directly? You should be editing the properties of the shortcut, not the exe.

girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 30, 2016, 01:35:56 AM
 #11



this one

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
September 30, 2016, 01:39:04 AM
 #12

this one
That's the exe file, not the shortcut. Typically people have a shortcut on their desktop that they use to start Bitcoin Core. That is what should be edited.

Anyways, since apparently that is too hard for you to do, in the same folder you are in right now, deselect everything (click in the big empty white area under those files) and then hold Shift and right click. You should see an option that says "Open command window here". Click that. Then type
Code:
bitcoin-qt.exe -choosedatadir
and hit enter. This will start Bitcoin Core. You should see a dialog box appear that asks you to choose the datadir. Choose it and continue. Now, everytime you start Bitcoin Core, it will use whatever datadir you set in that dialog.

girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 30, 2016, 01:55:27 AM
 #13



done  thx a lot

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!