Bitcoin Forum

Other => Beginners & Help => Topic started by: Princemachiavelli on December 22, 2018, 06:31:35 AM



Title: Programming a miner
Post by: Princemachiavelli on December 22, 2018, 06:31:35 AM
Hello Everyone

I have been mining for almost 6 months but I didn’t build it nor did it program it. I had a friend who helped me out but since then I have been interested in building my own and programming it myself. I have learnt to build it but just need to learn the programmingt, maintaining and upgrading part of the miner.

I have been looking but things seem very confusing with most people giving their opinions rather than actual knowledge. Can anyone please help me by providing me certain links as a newbie in this and other areas once I am able to increase my knowledge I can move up and keep learning.

Thank you


Title: Re: Programming a miner
Post by: Lakai01 on December 22, 2018, 08:23:49 AM
Hi!
I think you should move your topic to "Project Development" or even better "Mining". I am sure the people there have the knowledge to help you!


Title: Re: Programming a miner
Post by: boyptc on December 22, 2018, 08:27:11 AM
Hi!
I think you should move your topic to "Project Development" or even better "Mining". I am sure the people there have the knowledge to help you!
It's a mining question so it should be there --> https://bitcointalk.org/index.php?board=14.0

If you are for the knowledge, you can follow topics there and ask questions if something is confusing you about the topic you are reading.


Title: Re: Programming a miner
Post by: crairezx20 on December 22, 2018, 08:36:47 AM
I tried to ask this before but no one answers me.
Why not learn C programming language first here https://www.edx.org/learn/c-programming and develop some miners out there like this open source ccminer https://github.com/tpruvot/ccminer and make your own fork.

There are many developers out there are making their own fork with this open source code from CCminer.


Title: Re: Programming a miner
Post by: Jet Cash on December 22, 2018, 09:00:52 AM
I don't agree that this thread should be moved into the mining section. This is a bit of a sad comment, as obviously that should be the most suitable board. Unfortunately it would probably be deleted, as the the boards seem to be solely for chats between the knowledgeable, I had a couple of threads I started deleted when I became interested in mining.

If the OP is a beginner in mining, then surely the beginners board is a great place for this thread, and maybe he can encourage other new members to experiment with mining. I've given him 5 merits for starting the thread, and I'll watch it to see if we can get some helpful and constructive comments to help all of us who are beginners in the world of mining,

[edit]
You got lucky - McDonalds disconnected me, switched channels, and then reconnected me. This was when I was awarding the merits, so you got a double quota.

I remembered this thread about paper mining, and you might find it interesting. - https://bitcointalk.org/index.php?topic=5088105



Title: Re: Programming a miner
Post by: jackg on December 22, 2018, 10:06:10 AM
I’m not sure as to the specific software needed or what comes from the pool/stratum.

The chips look a bit like flip flops as I remember and I’m not sure exactly how the fit Meade works, you could try looking at some others that are already out there and inspecting their source. What language are you expecting to do this in? I don’t think anyone uses low level stuff to program although there are probably interfaces built into Linux for it.

For the mining process: 1. Tx data is taken in
2. A random nonce is generated and added to the coinbase
3. The txs are then hashed in pairs to make a node on the Markle tree and this occurs recursively until there is a Markle root.

This repeats but you only have to alter the transactions that the nonce affects. (This is my interpretation of that document). Hashing is done twice too so it’s sha25(sha256()) at each stage).

This is a b&h thing more than a mining thing anyway. I want to see more threads like this in the b&h board.


Title: Re: Programming a miner
Post by: Princemachiavelli on December 22, 2018, 01:06:41 PM
I tried to ask this before but no one answers me.
Why not learn C programming language first here https://www.edx.org/learn/c-programming and develop some miners out there like this open source ccminer https://github.com/tpruvot/ccminer and make your own fork.

There are many developers out there are making their own fork with this open source code from CCminer.

I don’t know much on this but what is the benefit of making your own coin and forking it. Where does the value come from ? Because I always thought contributions from different members of the community helps giving value.

I don't agree that this thread should be moved into the mining section. This is a bit of a sad comment, as obviously that should be the most suitable board. Unfortunately it would probably be deleted, as the the boards seem to be solely for chats between the knowledgeable, I had a couple of threads I started deleted when I became interested in mining.

If the OP is a beginner in mining, then surely the beginners board is a great place for this thread, and maybe he can encourage other new members to experiment with mining. I've given him 5 merits for starting the thread, and I'll watch it to see if we can get some helpful and constructive comments to help all of us who are beginners in the world of mining,

[edit]
You got lucky - McDonalds disconnected me, switched channels, and then reconnected me. This was when I was awarding the merits, so you got a double quota.

I remembered this thread about paper mining, and you might find it interesting. - https://bitcointalk.org/index.php?topic=5088105



Thank you for the points. I have also read about this topic here is link for anyone else interested more about it. http://www.righto.com/2014/09/mining-bitcoin-with-pencil-and-paper.html?m=1

Also what I meant was as a newbie I would like to know once I build a miner what to do. Like the different options because once I have build it I am so lost.



Title: Re: Programming a miner
Post by: TheAdrrock on December 23, 2018, 06:31:25 PM
What's pushing you to program your own miner. Are you planning into releasing it and getting a fee for every user?


Title: Re: Programming a miner
Post by: Princemachiavelli on December 24, 2018, 02:32:43 AM
What's pushing you to program your own miner. Are you planning into releasing it and getting a fee for every user?

No my education field is in Criminology but I am also trying to learn computer programming. The school here wants me to upgrade my marks which is a lot of money for 1 year. So I thought to learn it myself. The first step I felt was to learn how to build a computer. Instead of that I learnt to build a mining rig. Now that I’ve learnt to do it. I would like to program it to mine for me.

I have gotten some response on a little bit. So first step after the mining rig is built.

1. You have to put windows 8 on a USB and plug it into the mining rig. Once this is done then updgrading the windows 8 to 10 for free
2. Download software from online but i don’t know where and which software to download.



Title: Re: Programming a miner
Post by: Jet Cash on December 24, 2018, 09:04:19 AM
Packt publishing have got a number of digital and Bitcoin forensic eBooks and videos. They include Kali and Python specific topics.

https://search.packtpub.com/?query=bitcoin%20forensics&refinementList%5Breleased%5D%5B0%5D=Available



Title: Re: Programming a miner
Post by: Hivalley on December 24, 2018, 03:48:56 PM
What's pushing you to program your own miner. Are you planning into releasing it and getting a fee for every user?
It's a worthy task the OP has set his heart about to do,and it doesn't matter for which gain or how he intends to go about it
What his thread does show is intent,on developing himself,learning and in the end giving back to the community.
I actually know nothing about mining,so I may be if little help,i hope someone who does directs you effectively


Title: Re: Programming a miner
Post by: Princemachiavelli on December 25, 2018, 04:19:33 AM
What's pushing you to program your own miner. Are you planning into releasing it and getting a fee for every user?
It's a worthy task the OP has set his heart about to do,and it doesn't matter for which gain or how he intends to go about it
What his thread does show is intent,on developing himself,learning and in the end giving back to the community.
I actually know nothing about mining,so I may be if little help,i hope someone who does directs you effectively

Thank you for the kind words


Title: Re: Programming a miner
Post by: cliquehandclap on December 25, 2018, 05:37:27 PM
Why bother yourself with programming a miner by yourself when you can just download one and run it on your machine.


Title: Re: Programming a miner
Post by: Princemachiavelli on December 25, 2018, 05:47:48 PM
Why bother yourself with programming a miner by yourself when you can just download one and run it on your machine.

Where do I find this ?


Title: Re: Programming a miner
Post by: HCP on December 26, 2018, 02:21:33 AM
I have been interested in building my own and programming it myself. I have learnt to build it but just need to learn the programmingt, maintaining and upgrading part of the miner.
The first step I felt was to learn how to build a computer. Instead of that I learnt to build a mining rig. Now that I’ve learnt to do it. I would like to program it to mine for me.

I have gotten some response on a little bit. So first step after the mining rig is built.

1. You have to put windows 8 on a USB and plug it into the mining rig. Once this is done then updgrading the windows 8 to 10 for free
2. Download software from online but i don’t know where and which software to download.

Right... so by "build a miner", you mean actually mean that you just physically put a mining "rig" together... ie. motherboard+cpu+ram+PSU+GPU(s)

and by "programming a miner", what you actually mean, is that you want to install and configure all the software required (like Operating System and mining program)... you'd not actually looking at writing your own mining code from scratch are you? ???


If that is true, then the best place for you to start, is probably with Google: https://www.google.com/search?q=how+to+set+up+cryptocurrency+mining+rig

There are countless tutorials, both written and video, that explain the steps necessary for putting together a rig, the hardware required and the software required for mining various cryptocurrencies.


Title: Re: Programming a miner
Post by: Princemachiavelli on December 26, 2018, 03:06:35 AM
I have been interested in building my own and programming it myself. I have learnt to build it but just need to learn the programmingt, maintaining and upgrading part of the miner.
The first step I felt was to learn how to build a computer. Instead of that I learnt to build a mining rig. Now that I’ve learnt to do it. I would like to program it to mine for me.

I have gotten some response on a little bit. So first step after the mining rig is built.

1. You have to put windows 8 on a USB and plug it into the mining rig. Once this is done then updgrading the windows 8 to 10 for free
2. Download software from online but i don’t know where and which software to download.

Right... so by "build a miner", you mean actually mean that you just physically put a mining "rig" together... ie. motherboard+cpu+ram+PSU+GPU(s)

and by "programming a miner", what you actually mean, is that you want to install and configure all the software required (like Operating System and mining program)... you'd not actually looking at writing your own mining code from scratch are you? ???


If that is true, then the best place for you to start, is probably with Google: https://www.google.com/search?q=how+to+set+up+cryptocurrency+mining+rig

There are countless tutorials, both written and video, that explain the steps necessary for putting together a rig, the hardware required and the software required for mining various cryptocurrencies.

Yes you are right. I have no knowledge or experience in this area. Thank you. I will look into it.