Bitcoin Forum
June 20, 2024, 11:12:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain files and wallet.dat in different folders?  (Read 838 times)
kefky (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0



View Profile
July 15, 2014, 09:20:04 AM
 #1

I would like to place the blockchain files in a different location than wallet.dat. Is this possible with Bitcoin Core?  Huh
(I would like to avoid symlinks and "-datadir" is not a solution...)
BookLover
Hero Member
*****
Offline Offline

Activity: 533
Merit: 500


^Bitcoin Library of Congress.


View Profile
July 15, 2014, 05:56:50 PM
 #2

I realize this doesn't put the wallet.dat file in a different location but maybe it will solve your problem:
Code:
#Specify wallet file (within data directory)
-wallet=<file>

You may get more help if you post exactly what your trying to do.

roslinpl
Legendary
*
Offline Offline

Activity: 2212
Merit: 1199


View Profile WWW
July 15, 2014, 06:02:00 PM
 #3

I would like to place the blockchain files in a different location than wallet.dat. Is this possible with Bitcoin Core?  Huh
(I would like to avoid symlinks and "-datadir" is not a solution...)


Code:
-wallet=<file>
indeed.

Well if zou are looking for all of the options you can visit: https://en.bitcoin.it/wiki/Running_Bitcoin

and as for example
Quote
Wallet options:
 -disablewallet         Do not load the wallet and disable wallet RPC calls
 -paytxfee=<amt>        Fee per kB to add to transactions you send
 -rescan                Rescan the block chain for missing wallet transactions
 -zapwallettxes         Clear list of wallet transactions (diagnostic tool; implies -rescan)
 -salvagewallet         Attempt to recover private keys from a corrupt wallet.dat
 -upgradewallet         Upgrade wallet to latest format
-wallet=<file>         Specify wallet file (within data directory)
 -walletnotify=<cmd>    Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)
 -spendzeroconfchange   Spend unconfirmed change when sending transactions (default: 1)

There is a list with all of the command-line options that you can use while running Bitcoin Core.

If something is not on that list - it do not exist Smiley

Regards.
Sydboy
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 15, 2014, 07:47:26 PM
 #4

interesting i did not know -wallet was an option.
i had been using -datadir for a while now. do you have any idea which version of bitcoin-qt came out with -wallet ?

thanks Smiley
BookLover
Hero Member
*****
Offline Offline

Activity: 533
Merit: 500


^Bitcoin Library of Congress.


View Profile
July 15, 2014, 09:37:07 PM
 #5

Looks like Bitcoin Core version 0.9.0 was the first version to have this option.  https://bitcoin.org/en/release/v0.9.0 (search on this page for "wallet=" without the quotes to find it)

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
July 16, 2014, 04:08:49 AM
 #6

By the wording of the option "wallet=" only allows you to desginate the wallet by name within the data directory.  I don't believe it is possible to designate a different data and wallet location.
kefky (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0



View Profile
July 16, 2014, 10:00:30 AM
 #7

Indeed, "-wallet" is not a solution!

By the wording of the option "wallet=" only allows you to desginate the wallet by name within the data directory.  I don't believe it is possible to designate a different data and wallet location.
RedDiamond
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
July 17, 2014, 07:37:10 AM
 #8

So what is wrong with symbolic links? They should work just fine.
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!