I like to announce a new version of my Linux miner/plotter/plot optimizer:
https://bchain.info/dcct_miner.tgzsha256: eca303c3f2fb46a698797eab707bcc927614cfdd135c8e17114b52a6c962d641
How to use itDownload and unpack it:
wget
https://bchain.info/dcct_miner.tgztar -xvzf dcct_miner.tgz
Then compile it:
make
of if you use 32-bit Linux:
make linux32
If you really can't compile it use the ones in "bin".
Now you have 3 tools:
The C plotfile generatorThis tool creates plotfiles. In simple mode use it like this:
./plot -k
-d /path/to/storageThis will fill the entire disk with a single plot file using a random start nonce, 80% of available memory and max. threads.
Or specify:
./plot -k
-s 100000 -n 500G -m 10G -t 3for starting nonce 100000, 500GB plot size, 10GB memory usage and 3 threads.
The plot optimizer utilityThe new version is a LOT faster!
If you created your plots with a small stagger size, processing them takes a long time. You might miss your deadline if its found too late!
The utility optimizes your already created files making them a lot faster to read.
How to use it?./optimize plots/1234567890_0_100000_1000
Or process your whole plot directory:
./optimize plots/*
You can limit the memory usage, for example to 1GB:
./optimize -m 1G plots/*
It will replace your plot files with optimized ones.
This does not work for incomplete plotfiles.
The minerYou want to use your plotfiles to generate coins, this is where the miner is used.
For solo mining put your passphrase in a file called "passphrases.txt". It supports only one passphrase and uses the files first line.
Avoid spaces before/after your passphrase.
Then start the miner:
For example:
./mine 127.0.0.1 /mnt/disk1/plots /home/user/plots /mnt/usb1/plots
Each directory is read by a separate thread. If you use multiple HDD's try to use one directory per HDD, this is fastest.
The miner creates some nice output:
2872 MB read/11488 GB total/deadline 50134s (49664s left)
New block 8674, basetarget 9388869
2872 MB read/11488 GB total/deadline 21573s (21476s left)
New block 8675, basetarget 9260523
2872 MB read/11488 GB total/deadline 3040s (2823s left)
New block 8676, basetarget 9461804
2872 MB read/11488 GB total/deadline 1122s (1018s left)
New block 8677, basetarget 9502439
When seconds left approach zero, you likely found a block.
The miner also supports pool mining:
For uray's pool use:
For dev's pools (share based)
or
Could not get mining info from Node. Will retry..
917 MB read/3671 GB total/deadline 1426805s (1426631s left)
New block 14088, basetarget 2407011
21 MB read/85 GB total/deadline 711256s (711246s left)
Walet reported no deadline.
917 MB read/3671 GB total/deadline 117016s (116939s left)
New block 14089, basetarget 2360711
317 MB read/1271 GB total/deadline 73700s (73684s left)
Walet reported no deadline.
917 MB read/3671 GB total/deadline 73700s (73307s left)
New block 14090, basetarget 2395043
0 MB read/0 GB total/no deadline
Walet reported no deadline.