Author

Topic: [ANN][BURST] Burst | Efficient HDD Mining | New 1.2.3 Fork block 92000 - page 1009. (Read 2170893 times)

sr. member
Activity: 252
Merit: 250
I like to share an updated version of the Linux C tools. You can download it here:

https://bchain.info/dcct_miner.tgz

First you need to unpack it:
tar -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 plot merge utility

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 merge utility optimizes your already created files making them a lot faster to read.

How to use it?

Start it with one parameter, the input file.
Code:
./merge plots/1234567890_0_100000_1000

This will read your plotfile and create another one - 1234567890_0_100000_100000 - in your current directory. It now has a stagger size of 100000 which is a LOT better.
When done, delete the input file and put the optimized plot in its directory.
You can now use the optimized file with both the JAVA and the C miner.

This does not work for incomplete plotfiles.

The C plotfile generator

This tool creates plotfiles. It takes the same parameters as the JAVA plotfile-generator.

Start it like this:
Code:
./plot     

The 32-bit version can handle a stagger size of about 15000, lots more (depending on your memory) with the 64-bit version.

Some recommended stagger sizes:
2GB memory -> 4000
4GB memory -> 8000
8GB memory -> 20000
16GB memory -> 50000
32GB memory -> 100000

It creates a directory "plots" and puts your files there. They exactly match the files generated with the JAVA-Tool and can be used with any miner.

The miner

You want to use your plotfiles to generate coins, this is where the miner is used.

The C version has some advantages:
- It uses almost no memory
- A lot faster, multithreaded
- Can handle multiple plot directories

You first have to create a file called "passphrases.txt" and put your passphrase in it. It supports only one passphrase and uses the files first line.
Avoid spaces before/after your passphrase.

Then start the miner:

Code:
./mine  [  ..]

For example:

Code:
./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:
Code:
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.

If you like it - you can do me a favor and use/spread my blockchain-explorer http://bchain.info. It does not support BURST unfortunately.

Great Work! Smiley
I will test it.
sr. member
Activity: 358
Merit: 251
somebody who mine on http://burst-pool.cryptoport.io/ please post me your run_mine.bat
My run_mine.bat is like this:
java -Xmx1024m -cp pocminer.jar;lib/*;lib/akka/*;lib/jetty/* pocminer.POCMiner mine "http://burst-pool.cryptoport.io"

well i get error with this... it say something with wallet but i have it online all the time
What error??
unable to get mining info from wallet

EDIT: well i solve it, no idea how  Grin
legendary
Activity: 1596
Merit: 1009
somebody who mine on http://burst-pool.cryptoport.io/ please post me your run_mine.bat
My run_mine.bat is like this:
java -Xmx1024m -cp pocminer.jar;lib/*;lib/akka/*;lib/jetty/* pocminer.POCMiner mine "http://burst-pool.cryptoport.io"

well i get error with this... it say something with wallet but i have it online all the time
What error??
sr. member
Activity: 358
Merit: 251
somebody who mine on http://burst-pool.cryptoport.io/ please post me your run_mine.bat
My run_mine.bat is like this:
java -Xmx1024m -cp pocminer.jar;lib/*;lib/akka/*;lib/jetty/* pocminer.POCMiner mine "http://burst-pool.cryptoport.io"

well i get error with this... it say something with wallet but i have it online all the time
hero member
Activity: 518
Merit: 500
Difficulty continues to rise. I wrote a quick script to grab the baseTarget from every block, and used the it to calculate and graph total network size over time:



Imagine once more of the larger hdd farms get done plotting, that's many folds more than the current status.
member
Activity: 89
Merit: 10
Difficulty continues to rise. I wrote a quick script to grab the baseTarget from every block, and used the it to calculate and graph total network size over time:

legendary
Activity: 1596
Merit: 1009
somebody who mine on http://burst-pool.cryptoport.io/ please post me your run_mine.bat
My run_mine.bat is like this:
java -Xmx1024m -cp pocminer.jar;lib/*;lib/akka/*;lib/jetty/* pocminer.POCMiner mine "http://burst-pool.cryptoport.io"
sr. member
Activity: 358
Merit: 251
somebody who mine on http://burst-pool.cryptoport.io/ please post me your run_mine.bat
legendary
Activity: 1932
Merit: 1042
https://locktrip.com/?refId=40964
Is it possible to mine on pool while i'm generating a plot?
last 2 day in solo --> 0 blocks!!!
so i want to tray setting up pool!!!

another question.
when i set up "Set reward recipient:Passphrase" and "Set reward recipient:Recipient:" on http://127.0.0.1:8125/rewardassignment.html, how i can reset it, if i want to return on solo mining?

thanks!

UP UP UP UP

To reset it you just do the same thing but use your BURST address instead of the pool address. Thus "Assigning" the reward.

Yes you can mine while plotting, It will give a file read error but its nothing to worry about

many thanks neite!
sr. member
Activity: 560
Merit: 250
Is it possible to mine on pool while i'm generating a plot?
last 2 day in solo --> 0 blocks!!!
so i want to tray setting up pool!!!

another question.
when i set up "Set reward recipient:Passphrase" and "Set reward recipient:Recipient:" on http://127.0.0.1:8125/rewardassignment.html, how i can reset it, if i want to return on solo mining?

thanks!

UP UP UP UP

To reset it you just do the same thing but use your BURST address instead of the pool address. Thus "Assigning" the reward.

Yes you can mine while plotting, It will give a file read error but its nothing to worry about
sr. member
Activity: 462
Merit: 250
Very, very nice work  Smiley I'll try it on my linux box, but any chance for win versions...? Would be awesome  Grin



I like to share an updated version of the Linux C tools. You can download it here:

https://bchain.info/dcct_miner.tgz

First you need to unpack it:
tar -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 plot merge utility

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 merge utility optimizes your already created files making them a lot faster to read.

How to use it?

Start it with one parameter, the input file.
Code:
./merge plots/1234567890_0_100000_1000

This will read your plotfile and create another one - 1234567890_0_100000_100000 - in your current directory. It now has a stagger size of 100000 which is a LOT better.
When done, delete the input file and put the optimized plot in its directory.
You can now use the optimized file with both the JAVA and the C miner.

This does not work for incomplete plotfiles.

The C plotfile generator

This tool creates plotfiles. It takes the same parameters as the JAVA plotfile-generator.

Start it like this:
Code:
./plot     

The 32-bit version can handle a stagger size of about 15000, lots more (depending on your memory) with the 64-bit version.

Some recommended stagger sizes:
2GB memory -> 4000
4GB memory -> 8000
8GB memory -> 20000
16GB memory -> 50000
32GB memory -> 100000

It creates a directory "plots" and puts your files there. They exactly match the files generated with the JAVA-Tool and can be used with any miner.

The miner

You want to use your plotfiles to generate coins, this is where the miner is used.

The C version has some advantages:
- It uses almost no memory
- A lot faster, multithreaded
- Can handle multiple plot directories

You first have to create a file called "passphrases.txt" and put your passphrase in it. It supports only one passphrase and uses the files first line.
Avoid spaces before/after your passphrase.

Then start the miner:

Code:
./mine  [  ..]

For example:

Code:
./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:
Code:
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.

If you like it - you can do me a favor and use/spread my blockchain-explorer http://bchain.info. It does not support BURST unfortunately.
sr. member
Activity: 280
Merit: 250
exactly this is my point. if it is possible to secure something by not offering a huge target platform its safer. encapsulating a java vm by proper protocols is impossible. the only solution is to not allow the vm access to all critical data and do the critical things on a encapsulated secured system without java. this means you can build a block explorer in java but nothing which requires the private key like the ui login.
exactly this is why i have completely ignored nxt and i know many people who did the same.
if there is no c based wallet within the next couple of month burst wont be able gain market cap.

You are always talking about C/C++ as a safe alternative. You know what can happen if a buffer overflow is exploited? Or even malicious code is run?

This is not JAVA running in the browser running malicious code here, this is an application from a trusted source, open source, you can compile it yourself. It has less attack vectors compared to a C wallet with equal code quality.

I agree with you we need a C/C++ wallet, but for speed and usability, not safety.
legendary
Activity: 1932
Merit: 1042
https://locktrip.com/?refId=40964
Is it possible to mine on pool while i'm generating a plot?
last 2 day in solo --> 0 blocks!!!
so i want to tray setting up pool!!!

another question.
when i set up "Set reward recipient:Passphrase" and "Set reward recipient:Recipient:" on http://127.0.0.1:8125/rewardassignment.html, how i can reset it, if i want to return on solo mining?

thanks!

UP UP UP UP
sr. member
Activity: 462
Merit: 250
Hey everyone, been freeing up some space over the last few days and I'm ready for some mining. However, I'm in need of some coin. Anyone mind throwing some coin my way?

BURST-GP7L-5K58-DANT-DJJTE

Thanks in advance for helping me become a part of this new community.

Sent  Smiley
hero member
Activity: 518
Merit: 500
Quote
convert Nxt code base from Java to C++11
Thought, it is a bad idea to port burst to C++
Here is the english alphabet - http://en.wikipedia.org/wiki/English_alphabet. Construct you own name, and move forward to you own coin.
Java is very flexible&powerfull tool. It is not Java fault, that you were not enough qualified on its nuances (bit issue)
For bad  example - eXo&Emunie, which trying to be C(+++ Wink) analogy of power of Java. Where they are,now? In ass Grin, sorry.
For good example - NXT. Where it is now - it is everywhere.
So, the burst is important competitor in crypto finance world, as a native java code carrier. Grin




Java itself is good, it's javascripts that has security issues.
try to do anything with your account while javascript is disabled in your browser  Cry

i posted earlier that there is a huge difference between java and javascript.
technically if there is a 0-day exploit to access the java vm it is more powerfull than it would be for javascript.
so the big question is who wants to put a million dollar into anything you easily can loose control over?
i could sum up the last exploits with which those attacks where possible and expolorate the next date when such things are possible.
for now java may be safe but we speak about a timeframe of at least 4 years.
so please anyone stop saying java is safe and burst does'nt need a cpp based wallet!

Anything technically, has some form of security exploit. That is all up to who codes it well and make sure it has the proper security protocols. I never said Java is 100%, so don't assume I said that. Even Linux and Mac can be exploited, has been done before.
exactly this is my point. if it is possible to secure something by not offering a huge target platform its safer. encapsulating a java vm by proper protocols is impossible. the only solution is to not allow the vm access to all critical data and do the critical things on a encapsulated secured system without java. this means you can build a block explorer in java but nothing which requires the private key like the ui login.
exactly this is why i have completely ignored nxt and i know many people who did the same.
if there is no c based wallet within the next couple of month burst wont be able gain market cap.

Very true. But hopefully as this project progresses, these issues will be dealt with accordingly.


Any hdd's shipped have a risk of being damage, even new ones. I've bought both open boxed and refurbished with no issues in the past. Actually, had a new Seagate and WD drive crap out on me.
legendary
Activity: 1932
Merit: 1042
https://locktrip.com/?refId=40964
Is it possible to mine on pool while i'm generating a plot?
last 2 day in solo --> 0 blocks!!!
so i want to tray setting up pool!!!

another question.
when i set up "Set reward recipient:Passphrase" and "Set reward recipient:Recipient:" on http://127.0.0.1:8125/rewardassignment.html, how i can reset it, if i want to return on solo mining?

thanks!

UP UP UP UP
 Grin  Grin  Grin  Grin
sr. member
Activity: 256
Merit: 250
Quote
convert Nxt code base from Java to C++11
Thought, it is a bad idea to port burst to C++
Here is the english alphabet - http://en.wikipedia.org/wiki/English_alphabet. Construct you own name, and move forward to you own coin.
Java is very flexible&powerfull tool. It is not Java fault, that you were not enough qualified on its nuances (bit issue)
For bad  example - eXo&Emunie, which trying to be C(+++ Wink) analogy of power of Java. Where they are,now? In ass Grin, sorry.
For good example - NXT. Where it is now - it is everywhere.
So, the burst is important competitor in crypto finance world, as a native java code carrier. Grin




Java itself is good, it's javascripts that has security issues.
try to do anything with your account while javascript is disabled in your browser  Cry

i posted earlier that there is a huge difference between java and javascript.
technically if there is a 0-day exploit to access the java vm it is more powerfull than it would be for javascript.
so the big question is who wants to put a million dollar into anything you easily can loose control over?
i could sum up the last exploits with which those attacks where possible and expolorate the next date when such things are possible.
for now java may be safe but we speak about a timeframe of at least 4 years.
so please anyone stop saying java is safe and burst does'nt need a cpp based wallet!

Anything technically, has some form of security exploit. That is all up to who codes it well and make sure it has the proper security protocols. I never said Java is 100%, so don't assume I said that. Even Linux and Mac can be exploited, has been done before.
exactly this is my point. if it is possible to secure something by not offering a huge target platform its safer. encapsulating a java vm by proper protocols is impossible. the only solution is to not allow the vm access to all critical data and do the critical things on a encapsulated secured system without java. this means you can build a block explorer in java but nothing which requires the private key like the ui login.
exactly this is why i have completely ignored nxt and i know many people who did the same.
if there is no c based wallet within the next couple of month burst wont be able gain market cap.
legendary
Activity: 1932
Merit: 1042
https://locktrip.com/?refId=40964
Is it possible to mine on pool while i'm generating a plot?
last 2 day in solo --> 0 blocks!!!
so i want to tray setting up pool!!!

another question.
when i set up "Set reward recipient:Passphrase" and "Set reward recipient:Recipient:" on http://127.0.0.1:8125/rewardassignment.html, how i can reset it, if i want to return on solo mining?

thanks!
legendary
Activity: 3248
Merit: 1070
Yeah solo mining is almost impossible now. No block since few days with 4.5TB. I wait for luck and switch to pool mining.

The pool is nice, I suggest it.

mining on pool is the same who mining in solo?

i generate plot meanwhile i mine on pool?

it is possible?

I just setup a 12TB rig and got a block 14 hours later, so solo mining is still possible. I'm about to setup another rig with 16TB today once my 4x 4TB drive come in from Newegg.

why another rig? one psu can handle plenty of hdd, for the MB just add some adapter pci-e >>> sata

My current case isn't setup to fit more than 6 HDD's, need to go get more 3.5" to 2.5" adapters. I have 2 more Sata port on the mobo, but probably get either a eSata 4 bay enclosure and/or pci-e card. All depend on my cash in a week, got car insurance, cell and other bills to pay first.

just put them on the floor, who care lol
newbie
Activity: 39
Merit: 0
Hey everyone, been freeing up some space over the last few days and I'm ready for some mining. However, I'm in need of some coin. Anyone mind throwing some coin my way?

BURST-GP7L-5K58-DANT-DJJTE

Thanks in advance for helping me become a part of this new community.
Jump to: