Re: Having problems specifing -datadir

Participants: lachesis

Quote from: satoshi on July 28, 2010, 08:58:26 PM

It was able to reproduce this. The database doesn’t like the relative path.

“bitcoind -datadir=./subdir getinfo” works against a running daemon, but trying to start the daemon as “bitcoind -datadir=./subdir” gets that exception.

I guess we should resolve the full path before passing it to the database.

It looks like you were the first one to ever use -datadir with a relative path.

I’ve tried to do it before too, but I never considered it a large enough bug to report. It would be nice to see a fix, though.