Pages:
Author

Topic: My lightweight C# Bitcoin Miner (Read 11184 times)

newbie
Activity: 6
Merit: 0
May 15, 2013, 06:43:55 PM
#22
Nice to see people working on BTC with C#
newbie
Activity: 5
Merit: 0
May 13, 2013, 11:59:49 AM
#21
Thanks for this, good to have some basic code to work off of and learn...
member
Activity: 67
Merit: 10
May 13, 2013, 10:39:57 AM
#20
Awesome, This is much more effective than running lets say bfgminer, on a mid-range laptop (might as well mine while I'm at work!) lol

Good Idea, I might get my work pcs "working" for a change lol.
newbie
Activity: 6
Merit: 0
May 13, 2013, 09:38:10 AM
#19
Awesome, This is much more effective than running lets say bfgminer, on a mid-range laptop (might as well mine while I'm at work!) lol
member
Activity: 66
Merit: 10
May 13, 2013, 09:33:22 AM
#18

Yeah,

after a day or so of mining, I finally got one share in btcguild... worth 0.00000071 BTC. Hurray!

Funny to think that it's more profitable to spend your time at bitcoin faucets. Or to collect recyclable bottles and return them to the store. Well, it was a nice exercise.
legendary
Activity: 1120
Merit: 1016
090930
May 12, 2013, 02:46:01 PM
#17
Neat. I had no idea mining could be that simple.

I compiled the source on an OS X machine by downloading Mono SDK from http://www.go-mono.com/mono-downloads/download.html. The compilation step and running the compiled binary was as easy as:

Quote
$ mcs Program.cs
$ mono Program.exe

Let's see if I actually manage to get any bitcoins with my 180 Kh/s miner Smiley

Next step: actually understanding what it does


Hmmm sorry to dampen your enthusiasm, but consider yourself lucky if you get one cent per week...

see:
http://tpbitcalc.appspot.com/?difficulty=11187257.4614&hashrate=0.2&exchangerate=114.40&bitcoinsperblock=25.00&rigcost=99.00&powerconsumption=40.00&powercost=0.10&investmentperiod=355
newbie
Activity: 7
Merit: 0
May 12, 2013, 02:34:55 PM
#16
Good job, will look into this when I got some spare time... Easy sample code is always helpful for understanding concepts Smiley
member
Activity: 66
Merit: 10
May 12, 2013, 02:23:06 PM
#15
Neat. I had no idea mining could be that simple.

I compiled the source on an OS X machine by downloading Mono SDK from http://www.go-mono.com/mono-downloads/download.html. The compilation step and running the compiled binary was as easy as:

Quote
$ mcs Program.cs
$ mono Program.exe

Let's see if I actually manage to get any bitcoins with my 180 Kh/s miner Smiley

Next step: actually understanding what it does
newbie
Activity: 24
Merit: 0
May 12, 2013, 11:11:12 AM
#14
Wow... That's amazing... I'll check out your code Smiley
newbie
Activity: 16
Merit: 0
May 12, 2013, 10:02:13 AM
#13
Nice. Thanks for sharing.
newbie
Activity: 13
Merit: 0
May 12, 2013, 09:24:33 AM
#12
Hey,
that was a great work ... Now i can see how it works in a simple way ...
Thanks a lot
legendary
Activity: 1120
Merit: 1016
090930
May 12, 2013, 09:18:59 AM
#11
About the binary that is included in your repo: could you post instructions on how to build it?
Can it be built using a free compiler? I have zero C# experience...

That way, anyone can verify that it is indeed derived from the source code. I'm sure it is, and am running it in a VM as a safety measure anyway, but this community is paranoid about new binaries in general, as I'm sure you'll understand.
newbie
Activity: 5
Merit: 0
May 12, 2013, 04:29:22 AM
#10
Quote
Nonetheless incredible amounts of electricity (~1 GW/h) are wasted on mining Bitcoins which is basically spend calculating zillion’s of SHA256 hashes.
Roll Eyes
Failed.
Source also failed (Virtual Bitcoin Mining Is a Real-World Environmental Disaster)
With that, how much of a failure is this lightweight C# Bitcoin Miner?

Failed in what way? It doesn't reflect your opinion or factual errors?
legendary
Activity: 1120
Merit: 1016
090930
May 12, 2013, 02:49:26 AM
#9
Really nice and easy to understand! Thanks for this.
OB1
newbie
Activity: 13
Merit: 0
May 12, 2013, 02:34:18 AM
#8
Quote
Nonetheless incredible amounts of electricity (~1 GW/h) are wasted on mining Bitcoins which is basically spend calculating zillion’s of SHA256 hashes.
Roll Eyes
Failed.
Source also failed (Virtual Bitcoin Mining Is a Real-World Environmental Disaster)
With that, how much of a failure is this lightweight C# Bitcoin Miner?
newbie
Activity: 5
Merit: 0
May 11, 2013, 07:38:32 PM
#7
I haven't looked into litecoin mining, yet. So I can't help you with scrypt! Smiley

I just started to learn all that stuff a couple of days ago. In fact when I wanted to write a blogpost about my miner I realized how awkwardly unfamiliar a lot of terms and principles still are. If you could have a quick look and correct potential misconception before I make a fool about myself that would be awesome. Blogpost is here: http://blog.pixelpracht.net/
newbie
Activity: 45
Merit: 0
May 11, 2013, 07:29:15 PM
#6
This is awesome!  Thank you.  I'd also be interested in how to go about an scrypt implementation. 
newbie
Activity: 5
Merit: 0
May 11, 2013, 05:48:26 PM
#5
glad you like it! Smiley

@betonbro: I implemented the pool communication based on the information on: https://en.bitcoin.it/wiki/Getwork and tested it with btcguild and bitcoin.cz pools.

I'm not familiar with Litecoin and Feathercoin so no idea what it would take to mod it to support that.
newbie
Activity: 6
Merit: 0
May 11, 2013, 03:12:13 PM
#4
Hi, nice Smiley

Is it possible to use it to mine Litecoin or Feathercoin?

Have tried it with mining-foreman.org pool but it says:
ERROR Didn't find valid 'data' in Server Response

newbie
Activity: 11
Merit: 0
May 11, 2013, 11:09:37 AM
#3
looks like an interesting way to learn a bit more about the technical site of bitcoins, thanks a lot will have a look.
Pages:
Jump to: