Bitcoin Forum
May 04, 2024, 02:08:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: File organisation  (Read 560 times)
ingvar_e (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 2


View Profile
March 20, 2017, 11:19:30 AM
 #1

The "default" configuration when running bitcoin on a computer seems to be to store all data in the same folder and pass the data directory that hold both blockchain and the wallet
when starting bitcoin Core.

I travel between Stockholm and Las Palmas so I would like to store the blockchain part on my file server. I do not want to store my wallet on the file server.

Is it possible to have different directories for the wallet and the blockchain data?
1714788536
Hero Member
*
Offline Offline

Posts: 1714788536

View Profile Personal Message (Offline)

Ignore
1714788536
Reply with quote  #2

1714788536
Report to moderator
1714788536
Hero Member
*
Offline Offline

Posts: 1714788536

View Profile Personal Message (Offline)

Ignore
1714788536
Reply with quote  #2

1714788536
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714788536
Hero Member
*
Offline Offline

Posts: 1714788536

View Profile Personal Message (Offline)

Ignore
1714788536
Reply with quote  #2

1714788536
Report to moderator
1714788536
Hero Member
*
Offline Offline

Posts: 1714788536

View Profile Personal Message (Offline)

Ignore
1714788536
Reply with quote  #2

1714788536
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6578


Just writing some code


View Profile WWW
March 24, 2017, 01:26:46 AM
 #2

Yes, but storing the blockchain data on a network share will not work. The LevelDB databases require being locally on disk in order to operate properly.

ingvar_e (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 2


View Profile
March 25, 2017, 05:59:06 PM
 #3

Yes, but storing the blockchain data on a network share will not work. The LevelDB databases require being locally on disk in order to operate properly.

OK, I see. If I want my wallet to be on another location how do I inform the bitcoin program that. As it is now I pass the parameter " -datadir=D:\BitcoinData
and it  contains both the "block" folder and the wallet
icanscript
Hero Member
*****
Offline Offline

Activity: 686
Merit: 502



View Profile
March 25, 2017, 05:59:14 PM
 #4

I suppose if you had a CIFS Mount / mapped drive to a file server maybe a local NAS it could work?

It would be extremely slow and most likely break across any network with latency (internet) I imagine.

Someone with more in depth knowledge on this would need to confirm though.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6578


Just writing some code


View Profile WWW
March 25, 2017, 07:35:06 PM
 #5

Yes, but storing the blockchain data on a network share will not work. The LevelDB databases require being locally on disk in order to operate properly.

OK, I see. If I want my wallet to be on another location how do I inform the bitcoin program that. As it is now I pass the parameter " -datadir=D:\BitcoinData
and it  contains both the "block" folder and the wallet
You would have to use a symlink to have your wallet.dat file stored elsewhere as currently you cannot specify a path to the wallet file. You can specify a different name for the file though, just not the path to the file.

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!