Author

Topic: [ANN] SpreadCoin | True Decentralization (No Pools) | Testing New Masternodes - page 335. (Read 810099 times)

member
Activity: 111
Merit: 10
So, all my work to make it unnecessary to create spreadcoin.conf was useless?
With the latest wallet you don't need to create it anymore, with the latest AMD miner you also don't need to specify address, username and password in the argument list, for Nvidia miner use
Code:
spreadminer -o 127.0.0.1:41677 -u AnyUsername -p AnyPassword

Was unaware of this change. Thanks
legendary
Activity: 910
Merit: 1006
BCH Advocate.
Okay so I made a quick step one page. This doesn't relate to mining yet but its (sort of) visually appealing. lol
Figured Id make a little step by step for new users to relate rather than turn away for any reason relating to start up difficulties.
I noticed theres no 64 bit binary for Nvidia but I haven't even looked at source yet anyways so Ill mess with that later.
Next I'm just going to do a quick visual how to for mining directly from the wallet, then Ill look into the gpus and compile all the pages somewhere.

legendary
Activity: 1540
Merit: 1001
Crypto since 2014
So, all my work to make it unnecessary to create spreadcoin.conf was useless?
With the latest wallet you don't need to create it anymore, with the latest AMD miner you also don't need to specify address, username and password in the argument list, for Nvidia miner use
Code:
spreadminer -o 127.0.0.1:41677 -u AnyUsername -p AnyPassword
Oops. Sorry I didn't realise. Thanks for your hard work Mr. Spread.
full member
Activity: 210
Merit: 100
Does the miner subjected only to 64 bit win?
Provided binary of AMD miner is 32-bit and is supposed to work on 32-bit Windows but I didn't test it.
hero member
Activity: 540
Merit: 500
Does the miner subjected only to 64 bit win?
full member
Activity: 210
Merit: 100
So, all my work to make it unnecessary to create spreadcoin.conf was useless?
With the latest wallet you don't need to create it anymore, with the latest AMD miner you also don't need to specify address, username and password in the argument list, for Nvidia miner use
Code:
spreadminer -o 127.0.0.1:41677 -u AnyUsername -p AnyPassword
legendary
Activity: 1540
Merit: 1001
Crypto since 2014
Spreadcoin Mining Guide


Step 1: Make sure you have downloaded the Spreadcoin client and the miner that suits your graphics card. (AMD or Nvidia) You can find all of these download links below.

Client Download (version 0.9.15.2, released December 24, 2014)
Windows wallet (32-bit)
Windows wallet (64-bit)
Linux wallet (32-bit)
Linux wallet (64-bit)
Mac OS X wallet

Source code

AMD GPU Miner
Windows binary: http://spreadcoin.net/files/Spread-GPU-miner.7z
Source code: https://github.com/spreadcoin-project/spreadcoinx11-sgminer

You need latest drivers to use this miner. Known to work on 14.9 installed from file named amd-catalyst-14-9-win7-win8.1-64bit-dd-ccc-whql.exe from http://support.amd.com/en-us/download/desktop?os=Windows%207%20-%2064

Nvidia GPU Miner

Win32 binary: https://github.com/tsiv/spreadminer/releases
Source: https://github.com/tsiv/spreadminer



Step 2: You only need to do this step if you have an encrypted wallet

So first off, head to %appdata%/Spreadcoin. You can find it by opening windows explorer and typing it into the bar at the top:


Press Enter. Now you will be taken to a folder named Spreadcoin with a few files in it.
I'm going to assume you don't have a spreadcoin.conf file in this folder.

Now you need to right click and create a new text document as shown below.



Leave it named as "New Text Document". Now open the document and paste this text into it:

Code:
miningprivkey=

Now we can save the file. But we need to name it spreadcoin.conf so click file > save as
Now make sure to change "Save as type" from "Text Documents (*.txt)" to "All Files (*.*)"
Then type the file name as "spreadcoin.conf" and click save.
Now you should see a new file called "spreadcoin.conf" in the Spreadcoin directory. If you can't see it there then you might need to refresh the page but if you can see it there then you can minimize the file explorer window as we will come back to it later.



Step 3: Now you can extract the client that you downloaded earlier from the zip file and run it. (You may need to install 7-zip) (if you already had the latest client downloaded and running then you can skip this step)



Step 4: Follow this step ONLY if you have an encrypted wallet.

Create a new address that you would like your miner to mine to and copy it to the clipboard. This address will be slightly insecure as you will need to expose it to your miner.

In the Spreadcoin client in the toolbar at the top click Tools > Debug Console

Then type "walletpassphrase 120".
Now type "dumpprivkey " where the wallet address is the address you copied to your clipboard before.

The wallet will reply with the corresponding private key. You will need to copy this key and then open up the spreadcoin.conf file you minimized before.

Type "miningprivkey="

You can now save and close the spreadcoin.conf file.
Once you have done that you will need to restart the client.



Step 5: Now that the client is up and running you can extract your miner from it's zip file. Navigate to the folder you extracted it from and find the file named "start.bat". Depending on your computer the file may not have ".bat" on the end. Then you can right click > edit.

Now you might need to erase everything except the word "sgminer" (it worked for me) and then you can proceed to add custom modifications to the default values. Here is a list:

Code:
Options for both config file and command line:

--auto-fan          Automatically adjust all GPU fan speeds to maintain a target temperature
--auto-gpu          Automatically adjust all GPU engine clock speeds to maintain a target temperature
--balance           Change multipool strategy from failover to even share balance
--benchmark         Run sgminer in benchmark mode - produces no shares
--compact           Use compact display without per device statistics
--debug|-D          Enable debug output
--device|-d   Select device to use, one value, range and/or comma separated (e.g. 0-2,4) default: all
--disable-rejecting Automatically disable pools that continually reject shares
--expiry|-E   Upper bound on how many seconds after getting work we consider a share from it stale (default: 28)
--gpu-dyninterval Set the refresh interval in ms for GPUs using dynamic intensity (default: 7)
--gpu-platform Select OpenCL platform ID to use for GPU mining (default: -1)
--gpu-threads|-g Number of threads per GPU - one value or comma separated list (e.g. 1,2,1)
--gpu-engine  GPU engine (over)clock range in Mhz - one value, range and/or comma separated list (e.g. 850-900,900,750-850)
--gpu-fan     GPU fan percentage range - one value, range and/or comma separated list (e.g. 0-85,85,65)
--gpu-map     Map OpenCL to ADL device order manually, paired CSV (e.g. 1:0,2:1 maps OpenCL 1 to ADL 0, 2 to 1)
--gpu-memclock Set the GPU memory (over)clock in Mhz - one value for all or separate by commas for per card
--gpu-memdiff Set a fixed difference in clock speed between the GPU and memory in auto-gpu mode
--gpu-powertune Set the GPU powertune percentage - one value for all or separate by commas for per card
--gpu-reorder       Attempt to reorder GPU devices according to PCI Bus ID
--gpu-vddc    Set the GPU voltage in Volts - one value for all or separate by commas for per card
--lookup-gap  Set GPU lookup gap for scrypt mining, comma separated
--intensity|-I Intensity of GPU scanning (d or 8 -> 31,default: d to maintain desktop interactivity)
--xintensity|-X Shader based intensity of GPU scanning (1 to 9999), overrides --intensity|-I and -rawintensity.
--rawintensity Raw intensity of GPU scanning (1 to 2147483647), overrides --intensity|-I and --xintensity|-X.
--kernel-path|-K Specify a path to where kernel files are (default: "/usr/local/bin")
--kernel|-k   Override kernel to use - one value or comma separated
--load-balance      Change multipool strategy from failover to quota based balance
--log|-l      Interval in seconds between log output (default: 5)
--log-show-date|-L  Show date on every log line
--lowmem            Minimise caching of shares for low memory applications
--net-delay         Impose small delays in networking to not overload slow routers
--no-adl            Disable the ATI display library used for monitoring and setting GPU parameters
--no-restart        Do not attempt to restart GPUs that hang
--no-submit-stale   Don't submit shares if they are detected as stale
--pass|-p     Password for bitcoin JSON-RPC server
--per-device-stats  Force verbose mode and output per-device statistics
--poolname    Name of pool.
--protocol-dump|-P  Verbose dump of protocol-level activities
--queue|-Q    Minimum number of work items to have queued (0+) (default: 1)
--quiet|-q          Disable logging output, display status and errors
--quota|-U    quota;URL combination for server with load-balance strategy quotas
--real-quiet        Disable all output
--remove-disabled   Remove disabled devices entirely, as if they didn't exist
--rotate      Change multipool strategy from failover to regularly rotate at N minutes (default: 0)
--round-robin       Change multipool strategy from failover to round robin on failure
--scan-time|-s Upper bound on time spent scanning current work, in seconds (default: 7)
--sched-start Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop  Set a time of day in HH:MM to stop mining (will quit without a start time)
--shaders     GPU shaders per card for tuning scrypt, comma separated
--sharelog    Append share log to file
--shares      Quit after mining N shares (default: unlimited)
--socks-proxy Set socks4 proxy (host:port)
--show-coindiff     Show coin difficulty rather than hash value of a share
--state       Specify pool state at startup (default: enabled)
--tcp-keepalive TCP keepalive packet idle time (default: 30)
--temp-cutoff Temperature which a device will be automatically disabled at, one value or comma separated list (default: 95)
--temp-hysteresis Set how much the temperature can fluctuate outside limits when automanaging speeds (default: 3)
--temp-overheat Temperature which a device will be throttled at while automanaging fan and/or GPU, one value or comma separated list (default: 85)
--temp-target Temperature which a device should stay at while automanaging fan and/or GPU, one value or comma separated list (default: 75)
--text-only|-T      Disable ncurses formatted screen output
--thread-concurrency Set GPU thread concurrency for spreadcoin mining, comma separated
--url|-o      URL for bitcoin JSON-RPC server
--user|-u     Username for bitcoin JSON-RPC server
--verbose|-v        Log verbose output to stderr as well as status output
--worksize|-w Override detected optimal worksize - one value or comma separated list
--userpass|-O Username:Password pair for spreadcoin JSON-RPC server
--worktime          Display extra work time debug information
--difficulty-multiplier Difficulty multiplier for jobs received from stratum pools
Options for command line only:
--config|-c   Load a JSON-format configuration file
See example.conf for an example configuration.
--default-config Specify the filename of the default config file
Loaded at start and used when saving without a name.
--help|-h           Print this message
--ndevs|-n          Display number of detected GPUs, OpenCL platform information, and exit
--version|-V        Display version and exit

My start.bat file is very simple and looks like this:

Code:
sgminer -I 20

-I 20 means "Set the intensity to 20". You can change 20 to be any number from 8 - 31. Higher is better but your graphics card may not be able to handle the load if your intensity is very high.


For Nvidia users, the included example.bat should work right off the bat so all you need to do is run it.

Now you can run start.bat and it'll (hopefully) look something like this:




Sed8H56NJBTdY8E9Zuqs7o29g6xXz8fSD7
hero member
Activity: 784
Merit: 500
FLY DONATION ADDRESS IN SIGNATURE
X11 ASICs and FPGAs will not be usable for SpreadCoin. They will require some non-trivial modifications.

Well when I run my miner it says #include blake.cl and then shuts down??? any ideas why this might be? I have the amd 14.9 catalyst thingy as well Smiley
For me this happens when I try to mine on integrated Intel GPU.

Try to run:
Code:
sgminer --ndevs
pause
It will print you all your devices on which you can mine, you will see if there is an AMD card.
Thanks I will have to try that out as soon as I have a quick moment Smiley
hero member
Activity: 540
Merit: 500
Spreadcoin mining with Nvidia on Windows
1. download Windows wallet from spreadcoin.net
2. unzip downloaded wallet
3. run application; spreadcoin-qt.exe
4. let wallet sync (can't solo mine unless wallet is sync'd)
5. close sync'd wallet
6. create new text doc, spreadcoin.conf, in directory found at C:\YourUserName\AppData\Roaming\SpreadCoin, containing the following;

   rpcuser=username :: change to unique
   rpcpassword=password :: change to unique
   rpcallowip=127.0.0.1
   rpcport=31359 :: can be any port number not in use on computer
   listen=1
   daemon=1
   server=1
   logtimestamps=1

7. restart spreadcoin-qt.exe
8. download Nvidia spreadminer_v0.1r2_with_cudart.zip
9. unzip spreadminer
10. change the example.bat file to match your port number, username, and password found in the spreadcoin.conf file.

   spreadminer -o http://127.0.0.1:31359 -u username -p password

11. run example.bat to start mining.

optional; if you have multiple Nvidia cards you can use the -d, --device option
to run multiple instances of spreadminer. So a 5 card rig example.bat would read
spreadminer -d 0,1,2,3,4 -o http://127.0.0.1:31359 -u username -p password


Excellent!
Amd please.
member
Activity: 111
Merit: 10
Spreadcoin mining with Nvidia on Windows
1. download latest Windows wallet, version 0.9.15.2, from spreadcoin.net
2. unzip downloaded wallet
3. run application; spreadcoin-qt.exe
4. let wallet sync (can't solo mine unless wallet is sync'd)
6. download Nvidia spreadminer_v0.1r2_with_cudart.zip
7. unzip spreadminer
8. change the example.bat to user selected username and password.

   spreadminer -o http://127.0.0.1:41677 -u anyusername -p anypassword

9. run example.bat to start mining.

optional; if you have multiple Nvidia cards you can use the -d, --device option
to run multiple instances of spreadminer. So a 5 card rig example.bat would read
spreadminer -d 0,1,2,3,4 -o http://127.0.0.1:31359 -u username -p password


** edited to reflect solo mining to latest wallet.
legendary
Activity: 1540
Merit: 1001
Crypto since 2014
I'll put a 500 SPR bounty for a good mining guide.

Not written by Mr. Spread (sorry Mr. Spread) as we need him to focus on coding Smiley

Have you seen this yet:

Ok guys here is the batch file that I made. It creates a mining batch file for you.
I hope it is noob friendly.

https://www.dropbox.com/s/s71ju7vjwkaj3q9/SpreadcoinMinerConfig.bat?dl=0

Please post suggestions to help improve it.

Make sure to put the .bat file into the same directory as the miner.

Once it finishes it creates spreadcoinminer.bat, and you run this to mine.

If that's not enough then i'll definately make a better guide. I want that 500! Smiley

I don't mine so it's not my area of knowledge.  What would be nice is a guide that would let someone like me follow the directions, and be up and mining without much trouble.
Ok then. I'll write a guide. That batch file has steps you need to follow in it and it automatically opens up the spreadcoin.conf file for you but I get what you're saying.
hero member
Activity: 854
Merit: 1000
I'll put a 500 SPR bounty for a good mining guide.

Not written by Mr. Spread (sorry Mr. Spread) as we need him to focus on coding Smiley

Have you seen this yet:

Ok guys here is the batch file that I made. It creates a mining batch file for you.
I hope it is noob friendly.

https://www.dropbox.com/s/s71ju7vjwkaj3q9/SpreadcoinMinerConfig.bat?dl=0

Please post suggestions to help improve it.

Make sure to put the .bat file into the same directory as the miner.

Once it finishes it creates spreadcoinminer.bat, and you run this to mine.

If that's not enough then i'll definately make a better guide. I want that 500! Smiley

I don't mine so it's not my area of knowledge.  What would be nice is a guide that would let someone like me follow the directions, and be up and mining without much trouble.
legendary
Activity: 1540
Merit: 1001
Crypto since 2014
I'll put a 500 SPR bounty for a good mining guide.

Not written by Mr. Spread (sorry Mr. Spread) as we need him to focus on coding Smiley

Have you seen this yet:

Ok guys here is the batch file that I made. It creates a mining batch file for you.
I hope it is noob friendly.

https://www.dropbox.com/s/s71ju7vjwkaj3q9/SpreadcoinMinerConfig.bat?dl=0

Please post suggestions to help improve it.

Make sure to put the .bat file into the same directory as the miner.

Once it finishes it creates spreadcoinminer.bat, and you run this to mine.

If that's not enough then i'll definately make a better guide. I want that 500! Smiley
legendary
Activity: 910
Merit: 1006
BCH Advocate.
Ive only got my pc set up no true rig. Ive supported other coins before but only with pools never solo. Im set up now with cudamuner and just replace my gpus code withthe pools info. Im at work now but ill be off in 4 hours. Ill write up a setup guide when I get home. Maybe we can schedule an IRC meeting and get some group assistance to speed things up a bit?

You will need nvminer to mine this coin with Nvidia cards. As of now that is the only miner supporting this coin.
I guess it is also possible to mine with sgminer (which is called AMD miner in OP) on Nvidia cards. At least it works on integrated Intel GPU, I was able to get around 40 kh/s from it, didn't tried it on Nvidia cards though.

Six months ago or so Cudaminer was the only software for Nvidia. Im home from work now. Got a few things to do around the house then Ill set up my comp. If I get stuck on anything Ill post complications but I should be able to figure it out sober heh. Once its up Ill make a dummies guide, but this will only be for Windows OS using Nvidia cards.  Cool
legendary
Activity: 1722
Merit: 1002
Decentralize Everything
I think I know the answer to this but I'm going to ask anyway.

Are we limited to only using the provided miners?  Is the software open source?

I'm having difficulty getting the miners to work on non standard farms.  Its a shame that ordinary X11 can't be used...it would stimulate adoption and distribution of the coin.
These miners are open source, links to their sources are in OP. The problems with non standard farms maybe related to the fact that there is a limit by default on how many miners you can connect to one wallet.

Its a shame that ordinary X11 can't be used.
Ordinary X11 would imply pools.

Thanks for your response.

I regularly point 500Mh to 1Ghs of X11 at Darkcoin...I'll take a look at the source and see if I can get it working on any of the rigs.
newbie
Activity: 31
Merit: 0
Ive only got my pc set up no true rig. Ive supported other coins before but only with pools never solo. Im set up now with cudamuner and just replace my gpus code withthe pools info. Im at work now but ill be off in 4 hours. Ill write up a setup guide when I get home. Maybe we can schedule an IRC meeting and get some group assistance to speed things up a bit?


We could, am in.
full member
Activity: 210
Merit: 100
I think I know the answer to this but I'm going to ask anyway.

Are we limited to only using the provided miners?  Is the software open source?

I'm having difficulty getting the miners to work on non standard farms.  Its a shame that ordinary X11 can't be used...it would stimulate adoption and distribution of the coin.
These miners are open source, links to their sources are in OP. The problems with non standard farms maybe related to the fact that there is a limit by default on how many miners you can connect to one wallet.

Its a shame that ordinary X11 can't be used.
Ordinary X11 would imply pools.
legendary
Activity: 1722
Merit: 1002
Decentralize Everything
I think I know the answer to this but I'm going to ask anyway.

Are we limited to only using the provided miners?  Is the software open source?

I'm having difficulty getting the miners to work on non standard farms.  Its a shame that ordinary X11 can't be used...it would stimulate adoption and distribution of the coin.
full member
Activity: 210
Merit: 100
Ive only got my pc set up no true rig. Ive supported other coins before but only with pools never solo. Im set up now with cudamuner and just replace my gpus code withthe pools info. Im at work now but ill be off in 4 hours. Ill write up a setup guide when I get home. Maybe we can schedule an IRC meeting and get some group assistance to speed things up a bit?

You will need nvminer to mine this coin with Nvidia cards. As of now that is the only miner supporting this coin.
I guess it is also possible to mine with sgminer (which is called AMD miner in OP) on Nvidia cards. At least it works on integrated Intel GPU, I was able to get around 40 kh/s from it, didn't tried it on Nvidia cards though.
legendary
Activity: 1400
Merit: 1000
I'll put a 500 SPR bounty for a good mining guide.

Not written by Mr. Spread (sorry Mr. Spread) as we need him to focus on coding Smiley

This wasn't done by me but this is how I finally learned how to solo mine with multiple rigs into one wallet.

http://s18.postimg.org/lpogar82h/Solo_Mine_all_rigs.png
Jump to: