Author

Topic: Where in the bitcoin src does the database and wallet location get determined? (Read 933 times)

legendary
Activity: 2506
Merit: 1010
The syntax is -datadir=

It and other command line options are described here:

 - http://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments

Related:
 - http://en.bitcoin.it/wiki/Data_directory
sr. member
Activity: 409
Merit: 251
Crypt'n Since 2011
full member
Activity: 196
Merit: 100
Where in the bitcoin source does the database and wallet location get determined?  I want to be able to compile so that I can have multiple bitcoind run on the same server with each instance using it's own wallet and database.

Thanks

Look at the datadir= startup option no need to mess with code.
sr. member
Activity: 409
Merit: 251
Crypt'n Since 2011
Where in the bitcoin source does the database and wallet location get determined?  I want to be able to compile so that I can have multiple bitcoind run on the same server with each instance using it's own wallet and database.

Thanks
Jump to: