Bitcoin Forum
May 04, 2024, 12:29:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: arcMiner - alpha - New stratum miner from scratch - Linux and Windows  (Read 1263 times)
archit (OP)
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 27, 2015, 09:57:43 AM
Last edit: June 29, 2015, 02:41:19 PM by archit
 #1

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
1714825778
Hero Member
*
Offline Offline

Posts: 1714825778

View Profile Personal Message (Offline)

Ignore
1714825778
Reply with quote  #2

1714825778
Report to moderator
1714825778
Hero Member
*
Offline Offline

Posts: 1714825778

View Profile Personal Message (Offline)

Ignore
1714825778
Reply with quote  #2

1714825778
Report to moderator
1714825778
Hero Member
*
Offline Offline

Posts: 1714825778

View Profile Personal Message (Offline)

Ignore
1714825778
Reply with quote  #2

1714825778
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714825778
Hero Member
*
Offline Offline

Posts: 1714825778

View Profile Personal Message (Offline)

Ignore
1714825778
Reply with quote  #2

1714825778
Report to moderator
1714825778
Hero Member
*
Offline Offline

Posts: 1714825778

View Profile Personal Message (Offline)

Ignore
1714825778
Reply with quote  #2

1714825778
Report to moderator
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
June 27, 2015, 10:19:29 AM
 #2

are you planning to add gbt and getwork support ?

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
archit (OP)
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 27, 2015, 11:53:45 AM
 #3

are you planning to add gbt and getwork support ?

Xpt then gbt then getwork
Epsylon3
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
June 27, 2015, 11:56:52 AM
 #4

and linux ?

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
archit (OP)
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 27, 2015, 12:07:05 PM
 #5

and linux ?

Very soon Grin
smolen
Hero Member
*****
Offline Offline

Activity: 524
Merit: 500


View Profile
June 27, 2015, 10:58:07 PM
 #6

(ranting) non-const by-value vector argument Smiley
Code:
bool StratumHelpers::GenerateMerkleRoot(vector<Hash> TransactionHashes, uint8_t* Coinbase, unsigned int CoinbaseLength , Hash& MerkleRoot)

Of course I gave you bad advice. Good one is way out of your price range.
archit (OP)
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 28, 2015, 08:21:58 AM
 #7

(ranting) non-const by-value vector argument Smiley
Code:
bool StratumHelpers::GenerateMerkleRoot(vector<Hash> TransactionHashes, uint8_t* Coinbase, unsigned int CoinbaseLength , Hash& MerkleRoot)


Not sure I understand. What's wrong with it?
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
June 28, 2015, 11:35:59 AM
 #8

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)

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
archit (OP)
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 28, 2015, 04:26:08 PM
 #9

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.
MaxDZ8
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
June 28, 2015, 04:30:06 PM
 #10

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.
archit (OP)
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 28, 2015, 04:34:44 PM
 #11

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.
archit (OP)
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 29, 2015, 10:13:53 AM
 #12

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.
archit (OP)
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 29, 2015, 02:54:24 PM
 #13

Linux compatible now. next up is xpt although this might be delayed because I have an exam coming up
Epsylon3
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
June 30, 2015, 10:47:50 AM
 #14

you have a big typo in your readme title :p doesnt make serious :p

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
archit (OP)
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 30, 2015, 11:07:28 AM
 #15

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?
Epsylon3
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
June 30, 2015, 04:26:52 PM
 #16

looks good... was planning to make some objects too...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!