Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: keystroke on April 01, 2013, 05:20:10 PM



Title: client command line option -wallet= in addition to -datadir=? REDUX
Post by: keystroke on April 01, 2013, 05:20:10 PM
Didn't want to post in the old thread as it has been 120 days since the last post there....

It would be nice to have a --walletdir option to specify where the wallet is. That way we can put the wallet in an encrypted volume and leave the blockchain elsewhere.

Has this been implemented? I see some people are using symlinks but that is still a pain under Windows (especially with multiple wallets).

If a patch were written would it be easy to get it merged into the client?

Thanks.


Title: Re: client command line option -wallet= in addition to -datadir=? REDUX
Post by: wumpus on April 01, 2013, 05:36:18 PM
Yes, would be useful, -walletdir has been proposed before:

https://github.com/bitcoin/bitcoin/issues/68

It used to be a problem that both the block chain and the wallet use bdb, which shared one database directory with log files. But now that the block chain is no longer in berkeleydb it is possible to add this option.


Title: Re: client command line option -wallet= in addition to -datadir=? REDUX
Post by: keystroke on April 01, 2013, 06:54:13 PM
Yes, would be useful, -walletdir has been proposed before:

https://github.com/bitcoin/bitcoin/issues/68

It used to be a problem that both the block chain and the wallet use bdb, which shared one database directory with log files. But now that the block chain is no longer in berkeleydb it is possible to add this option.

Thanks and good point. I see the issue is open so I made a comment there.


Title: Re: client command line option -wallet= in addition to -datadir=? REDUX
Post by: Stephen Gornick on April 01, 2013, 08:57:41 PM
Thanks and good point. I see the issue is open so I made a comment there.

And to replicate the response from there:

gmaxwell commented:
@keystrike it's likely going to get subsumed by the multiple wallet support.


Title: Re: client command line option -wallet= in addition to -datadir=? REDUX
Post by: keystroke on April 02, 2013, 01:49:50 AM
Thanks and good point. I see the issue is open so I made a comment there.

And to replicate the response from there:

gmaxwell commented:
@keystrike it's likely going to get subsumed by the multiple wallet support.


Looks like they are well on their way: https://github.com/bitcoin/bitcoin/pull/2124