Author

Topic: arcMiner - alpha - New stratum miner from scratch - Linux and Windows (Read 1278 times)

legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
looks good... was planning to make some objects too...
full member
Activity: 159
Merit: 100
you have a big typo in your readme title :p doesnt make serious :p

Mutli Cheesy Cheesy I'll fix it. How do you think the quality of the code is?
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
you have a big typo in your readme title :p doesnt make serious :p
full member
Activity: 159
Merit: 100
Linux compatible now. next up is xpt although this might be delayed because I have an exam coming up
full member
Activity: 159
Merit: 100
Very nice; I've my own that mines four algos on stratum atm, but I want to make it more fully-featured.
Hi Wolf0!
Thanks for that. My miner is almost ready for linux support now.
full member
Activity: 159
Merit: 100
Hello fellow programmer!
Shall you need inspiration, feel free to take some MIT code. It was also written with clarity as a primary objective and has been refactored a few times already. There are only an handful of kernels but at least they are unencumbered by GPL constraints.

Hi,
That's almost exactly what I hope to do. Hopefully this will be able to become the base for my future miners. Thanks for linking to your project, I'll definitely have a look.
hero member
Activity: 672
Merit: 500
Hello fellow programmer!
Shall you need inspiration, feel free to take some MIT code. It was also written with clarity as a primary objective and has been refactored a few times already. There are only an handful of kernels but at least they are unencumbered by GPL constraints.
full member
Activity: 159
Merit: 100
what is the cpu usage (lol, my question doesn't make much sense since it is a cpu miner) for the non mining part ?
worked once on a a c++ miner and the cpu usage was rather high... (the mining was insured by gpu's, the reason why I ask the question actually)

Amazing I never thought about it. It is quite high, 5%. I'll work up on that.

EDIT: Strange thing is up, task manager reports 5% in main window, negligible in detailed. Resource manager shows negligible as well

I will set up thread affinity as well to improve it nevertheless.
legendary
Activity: 1400
Merit: 1050
what is the cpu usage (lol, my question doesn't make much sense since it is a cpu miner) for the non mining part ?
worked once on a a c++ miner and the cpu usage was rather high... (the mining was insured by gpu's, the reason why I ask the question actually)
full member
Activity: 159
Merit: 100
(ranting) non-const by-value vector argument Smiley
Code:
bool StratumHelpers::GenerateMerkleRoot(vector TransactionHashes, uint8_t* Coinbase, unsigned int CoinbaseLength , Hash& MerkleRoot)


Not sure I understand. What's wrong with it?
hero member
Activity: 524
Merit: 500
(ranting) non-const by-value vector argument Smiley
Code:
bool StratumHelpers::GenerateMerkleRoot(vector TransactionHashes, uint8_t* Coinbase, unsigned int CoinbaseLength , Hash& MerkleRoot)
full member
Activity: 159
Merit: 100
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
full member
Activity: 159
Merit: 100
are you planning to add gbt and getwork support ?

Xpt then gbt then getwork
legendary
Activity: 1400
Merit: 1050
are you planning to add gbt and getwork support ?
full member
Activity: 159
Merit: 100
The reason I made arcMiner is because all existing stratum miners I knew about had a very messy code base and were very hard hard to compile in windows. arcMiner has a completely different code base which is supposed to be clean and easy to read and understand so that other developers who have are struggling with stratum can understand it easily.  

Right now it only supports scrypt with stratum but in future it should be able to support xpt and multiple POW like keccak etc.

credits - archit, pooler(scrypt code), jh00, clintar

https://github.com/archit120/arcMiner

This shouldn't be of much interest to normal users.

Download link for 64bit windows version - Click here!

Compile instructions for linux are up at github
Jump to: