Author

Topic: upgraded to v0.9.1 and "bitcoin-qt -conf=..." on win7 stops working (Read 890 times)

hero member
Activity: 516
Merit: 500
CAT.EX Exchange
Hmm 0.8.0 is from early 2013

 https://bitcoin.org/en/release/v0.8.0


The info from the wiki is from 2011, so it might have been an unintended feature.

To be extra sure I just did some tests. I don't have the 0.8.6.1 bitcoin-qt any more. I tested with my ltc wallet which is v0.8.6.1. I edited the config file so that the datadir is pointed to a non-existing directory. I started the wallet with  -conf=... and sure, it asked me if I wanted to rebuild the blockchain. I quit the wallet and changed the datadir back to the correct directory in the config file. The wallet can start normallly. It proves that at least v0.8.6.1 bitcoin-qt uses the config file to define datadir.

I suggested this is a bug in the technical forum. My post got deleted  Sad
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
Hmm 0.8.0 is from early 2013

 https://bitcoin.org/en/release/v0.8.0


The info from the wiki is from 2011, so it might have been an unintended feature.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
Quote
All command-line options (except for -datadir and -conf) may be specified in a configuration file, and all configuration file options may also be specified on the command line. Command-line options override values set in the configuration file.

from here: https://en.bitcoin.it/wiki/Running_Bitcoin

Just put the data dir in the command link like

Code:
c:\abc\bitcoin\bitcoin-qt -conf=f:\def\btc\bitcoinqt.conf -datadir=f:\def\btc

and you should be fine.

According to the wiki, this isnt news either.

https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&diff=prev&oldid=20069

hero member
Activity: 516
Merit: 500
CAT.EX Exchange
you can't set datadir from a .conf file.

Is this new for 0.9.1 ? I have been doiing it for months with bitcoin, ltc, ppc, xpm .... how could they have worked? how else did my 0.8 qt know the custom datadir I specified in the .conf file?
legendary
Activity: 2058
Merit: 1452
you can't set datadir from a .conf file.
hero member
Activity: 516
Merit: 500
CAT.EX Exchange
On Win7 32bit when I start v0.9.1 qt with

c:\abc\bitcoin\bitcoin-qt -conf=f:\def\btc\bitcoinqt.conf

it doesn't start. Not even the splash screen shows.  In f:\def\btc\bitcoinqt.conf I define datadir=f:\def\btc

I have used the above with v0.8 qt fine.

If I start the new qt without -conf= it starts fine. At least the installation is correct. But it uses the standard %appdata% data dir , which I don't intend to use.

This seems to be a bug. It breaks drop-in substitution with the new qt.

Jump to: