Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config file for regtest/testnet #93

Closed
ManfredKarrer opened this issue Sep 28, 2014 · 1 comment
Closed

Add config file for regtest/testnet #93

ManfredKarrer opened this issue Sep 28, 2014 · 1 comment
Assignees
Milestone

Comments

@ManfredKarrer
Copy link
Contributor

No description provided.

@ManfredKarrer ManfredKarrer self-assigned this Sep 28, 2014
@ManfredKarrer ManfredKarrer added this to the M1 milestone Sep 28, 2014
@ManfredKarrer
Copy link
Contributor Author

@cbeams: I just checked in the config file support. I added a example file under docs. If it is available under the app data dir (/Users/username/Library/Application Support/Bitsquare/bitsquare.conf) it will override the network settings defined in the Guice module.

There is one open question how we handle the setup of 2 instances with passing the app name (that is used to separate the apps, otherwise they would access the same wallet and pref. files).
I use an parameter passed to the app (java -jar bitsquare.jar Alice) as app name.
With an native app we could pass it like that:
/Applications/Bitsquare.app/Contents/MacOS/bitsquare Alice
/Applications/Bitsquare_bob.app/Contents/MacOS/bitsquare Bob

Have not found a better way to do that yet. We cannot use the config file for the app name as we already need to have that information when loading the config (app name is used in the path).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants