Bitsharestalk forum is supported by Bitsapphire
Join the chat
This is just a slightly more detailed mini guide to run multiple instances of ProtoShare Client in windows. Credits to FreeTrade who posted the how-to in https://bitcointalk.org/index.php?topic=325261.0.Example of ProtoShare client location-------------------------------------C:\Program Files (x86)\ProtoSharesDefault data directory location-------------------------------C:\Users\Username\AppData\Roaming\ProtoSharesSteps-----1) First create a protoshares.conf file. Create a new .txt file in C:\Users\Username\AppData\Roaming\ProtoShares and rename to protoshares.confEdit protoshares.conf with notepad and insert the following without the (description):port=3888 (Default protoshare port)gen=1 (Gen=1 will cause the client to start mining upon launch)genproclimit=x (x is the max number of threads with win32 client; Also ram dependent)2) Next I duplicated C:\Users\Username\AppData\Roaming\ProtoShares directory and created C:\Users\Username\AppData\Roaming\ProtoShares2, so now I have two data directories:C:\Users\Username\AppData\Roaming\ProtoSharesC:\Users\Username\AppData\Roaming\ProtoShares2I deleted the wallet from ProtoShares2 directory because I wanted a separate wallet. Inside ProtoShares2 directory, edit protoshares.conf with notepad:port=xxxx <= Must change this to another port address e.g. 3889gen=1 genproclimit=x3) To launch ProtoShares Client:1st Instance - Execute "C:\Program Files (x86)\ProtoShares\protoshares-qt.exe" (As normal just double-click)2nd Instance - Execute "C:\Program Files (x86)\ProtoShares\protoshares-qt.exe -port=xxxx -datadir=C:\Users\Username\AppData\Roaming\ProtoShares2"You can use a shortcut or .bat file to launch the 2nd Instance.Hope you find this useful. Good luck.
Since you can only mine Protoshares with a CPU and the wallet setgenerate only allows 3 processes per instance because of Win 32, you need to mine with multiple instances. Basically you're creating alternate AppDataRoaming directories for Protoshares to use with each instance you run. When you first install protoshares, it creates a folder in the appdataroaming directory called ProtoShares. This folder holds the wallet file and other various files the client needs. Here are the steps to setup multiple instances. 1. Copy the Protoshares folder in the AppDataRoaming directory and rename the folder to ProtoShares-1.2. Delete the wallet.dat file in the ProtoShares-1 folder you just copied.3. Go to where you have the protoshares-qt.exe file and the create a text file. Rename the text file to protoshares-1.bat. Please note: if you're someone who doesn't have the extensions turned on in windows then stop here and go watch TV. If you ask the question... I've added the .bat extension to the file and it keeps opening in the text editor... again go back to watching TV.4. In the new bat file add the following:protoshares-qt.exe --port=add_any_port_number_here --datadir=C:UsersusernameAppDataRoamingProtoShares-1So, my bat file looks like this:protoshares-qt.exe --port=88754 --datadir=C:UsersjimmyAppDataRoamingProtoShares-15. Double click on the protoshares-1.bat file which is going to open the new instance of ProtoShares using the newly created AppDataRoamingProtoShares-1 Directory instead of the AppDataRoamingProtoShares directory.6. When the client opens go to Help > Debug Window > Console and enter setgenerate true 3 and click return. I've found that using the Settings > Mine 3 Processes, results in the generate equaling false when getmininginfo is entered in the console. Repeat the above steps for multiple instances. Since each AppData directory is going to have a unique wallet.dat file, you have to remember to transfer the coins back to a single wallet. Deleting any of the wallet.dat files in anyone of the AppDataRoaming folders and you will delete the coins in that specific wallet. Good luck!
I keep getting an error. Specified data directory does not exist.Here is my batch file. protoshares-qt.exe --port=3889 --datadir=C:UsersJonAppDataRoamingProtoShares2I am testing with ProtoShares using FreeTrades technique.
Quote from: BryceRoss on December 18, 2013, 10:02:49 PMI keep getting an error. Specified data directory does not exist.Here is my batch file. protoshares-qt.exe --port=3889 --datadir=C:UsersJonAppDataRoamingProtoShares2I am testing with ProtoShares using FreeTrades technique.your missing the \ in the datadir
Page created in 0.414 seconds with 20 queries.