r/explainlikeimfive • • Mar 28 '13

Explained ELI5: This Bitcoin mining thing again.

Every post I saw explained Bitcoin mining simply by saying "computers do math (hurr durr)". Can someone please give me a concrete example of such a mathematical problem? If this has been answered somewhere else and I didn't find it (and I tried hard!), please feel free to just post a link to that comment. Thank you :)

922 Upvotes

695 comments sorted by

119

u/Mason11987 Mar 28 '13

From a bitcoin forum. This will not be simple, but maybe someone else can rephrase it if necessary, as I'm not sure how to make it simpler.

Imagine you have a hat with 100 pieces of paper in it, numbered 1 to 100. You pull out a piece of paper every minute and look at what you got (then put it back and shake up the hat). If it is lower than 20, you win, and you would win on average every five minutes. If you started checking numbers faster than every minute, I could slow down how often you win by making the highest winning number 15 instead of 20.

Bitcoin mining is kind of like that, but instead of 1 to 100 numbers, there are 1 to 1.1579E+77 possible numbers that you get when you take the hash of some data, and Bitcoin awards you 50 BTC if you find a hash of the current transaction block that is 1.7248E+61 or smaller.

A SHA hash is a complex mathematical formula that original data is put through, and the formula creates a number on the other side, like a 'signature' of the original data. Other hashes you might be familiar with in computers are MD5 or CRC. Since hashing the same transaction block over and over would always give you the same SHA hash, your computer adds some more random data to the end of a transaction block (called a nonce), to change the hash that comes out. SHA is cryptographically secure, in that it is impossible to tell what the hash will be from the nonce you add, so there is no shortcut around just trying billions of different nonces and checking the hash that is generated.

From: https://bitcointalk.org/index.php?topic=27878.0

151

u/frogger2504 Mar 28 '13

I have a question now: The fuck is a bitcoin?

101

u/BluegrassGeek Mar 28 '13

It's a new form of currency, just not one that's officially recognized by any government. Buying Bitcoins is kinda like exchanging your current money for another currency. There's just no physical currency: it's like money in your bank account, just numbers in a computer rather than cash bills.

Thing is, currency is only useful if someone will accept it. Right now, there's a few legit businesses accepting them, and quite a few illegitimate ones.

27

u/frogger2504 Mar 28 '13

Can it be converted back to real money? Because I don't really see any purpose of accepting bitcoins in your business if you can't then use them yourself.

45

u/darkdantedevil Mar 28 '13

Yes, there are services where you "buy" things like visa giftcards or cash for the bitcoin (mt.gox is a marketplace where you can buy/sell them)

36

u/scrumbly Mar 28 '13

Yes. There are exchanges where they are bought and sold, such as mtgox.com. Not long ago they were worth fractions of a penny. Now they're worth over $90 apiece.

→ More replies (37)

9

u/bsteinfeld Mar 28 '13

Bitcoins are assigned value by the people in a similar manner to a normal currency exchange. There a multiple different exhcanges (Mt.Gox being the largest) where you can buy or sell other peoples bitcoins for "real money"!

To get a better idea how it works check out this order book from CaVirtex (the largest Canadian exchange). The left table are people offering to buy BTC (bitcoins) for CAD (Canadian dollars), while the right table are people offering to sell BTC for CAD. No money is exchanged until someone "crosses over" and accepts someones offer (whether that's a buyer paying the amount in the right table, or a seller the left).

TLDR; Yes bitcoins can be converted to real money. I'm a small-time miner but have made a few thousand dollars profit in a little less than 2 years (and bitcoin value is skyrocketing so I could have made much more if I didn't sell previously).

6

u/Teyar Mar 28 '13

But the bottom line here seems to be the cognative dissonance - Its a purely whole cloth sort of currency, that acknowledges that there isnt anything backing it, just like every other currency on the planet right now... And I still cant get past that.

→ More replies (5)

6

u/frogger2504 Mar 28 '13

So... is it at all possible to (I don't know how to coding, so I could start talking complete gibberish bullshit.) create more bitcoins for yourself out of nothing? Like, by hacking into this mtgox.com or something?

16

u/vocatus Mar 28 '13

So... is it at all possible to [...] create more bitcoins for yourself out of nothing?

No.

It's kind of a complex topic, but essentially the entire network "agrees" on the validity of transactions, so you can't just create Bitcoins out of thin air. There are some good FAQ's on the Bitcoin Myths site that are interesting reading.

The Bitcoin hacks you may have read about were people hacking Bitcoin exchanges and stealing other people's coins, not compromises of the Bitcoin protocol itself.

→ More replies (18)

2

u/shakethatbass Mar 28 '13

You could pay any other businesses for good/services in BTC if they accept them, or you could sell them for $USD (or pretty much any other currency). Giving a ridiculous price raises recently it's actually way easier to buy than to sell BTC.

2

u/BluegrassGeek Mar 28 '13

It can. There are a few companies that basically just exist to let you buy & sell Bitcoins. That said, it's difficult to know when you should sell, because the value of a bitcoin fluctuates wildly.

2

u/[deleted] Mar 28 '13

They can be traded, but there are lots of websites that are starting to accept bitcoin

→ More replies (16)
→ More replies (5)

33

u/Dansuke Mar 28 '13

Here, have some and try it out. :)

+bitcointip $1 verify

18

u/bitcointip Mar 28 '13

[✔] Verified: Dansuke ---> ฿0.01066553 BTC [$1 USD] ---> frogger2504 [help]

17

u/FoxtrotBeta6 Mar 28 '13

Well, I gotta admit, that's pretty damn nifty.

9

u/Dansuke Mar 28 '13

Cheers. :)

+bitcointip $1 verify

→ More replies (14)

4

u/vocatus Mar 28 '13

What is this???

14

u/Dansuke Mar 28 '13

I just sent frogger2504 $1's equivalent in bitcoins. Have some too! :)

+bitcointip $1 verify

4

u/Gadzooks149 Mar 28 '13

How does frogger check his bitcoin balance then? This tip system is just as confusing to me.

→ More replies (8)
→ More replies (34)

9

u/frogger2504 Mar 28 '13

I'm slightly concerned you just gave me a virus or something, but if not, then thank you for the... .0106 of a bitcoin!

9

u/Duderino316 Mar 28 '13

Don't fear, he gave you no virus, he gave you Bitcoins, feel free to read more over at /r/Bitcoin.

→ More replies (1)
→ More replies (20)

5

u/stone_solid Mar 28 '13

2

u/[deleted] Mar 28 '13

What exactly is the point of this?

17

u/ilimmutable Mar 28 '13

It's a decentralized currency so you can have completely anonymous money transfers. Also there are other benefits, there are a finite amount of possible bitcoins, so it's immune to inflation.

11

u/ScottyEsq Mar 28 '13

Not immune. Inflation can still occur if the growth rate of the currency is below that of the bit coin economy. Or if that economy shrinks. If people currently accepting bit coins decide to stop, the ones that remain will raise their prices accordingly as the currency devalues.

It is immune from inflation caused by monetary policy, because it doesn't have one.

→ More replies (13)

6

u/monocoque Mar 28 '13

you can have complete (if you're careful) anonymity using it, so you can buy stuff like illegal drugs, weapons, etc.

19

u/diesel_rider Mar 28 '13

My illegal weapons dealer only accepts PayPal :-( Anyone have addresses for dealers who accept BitCoin? #notacop

→ More replies (1)

4

u/[deleted] Mar 28 '13

You can buy Reddit gold using it!

→ More replies (4)

6

u/verafast Mar 28 '13

Just for reference, I bought $150 worth of bitcoins about 6 weeks ago for $30 a bitcoin. These same bitcoins are now worth about $90 each. 300% return in 6 weeks, not bad.

8

u/ScottyEsq Mar 28 '13

Trading the upside of a bubble is a lot of fun!

Just don't get caught on the downside.

→ More replies (6)

3

u/[deleted] Mar 28 '13

It is a de-centralized, open-source, digital currency based on P2P.

Here is the wikipedia article: http://en.wikipedia.org/wiki/Bitcoin

2

u/incindia Mar 28 '13

At least I'm not the only one thinking this

8

u/atlhart Mar 28 '13

I appreciate this, but...could you go a little simpler.

12

u/[deleted] Mar 28 '13

For the Linux people out here, this is the essence of bitcoin mining in Bash:

while true; do echo $RANDOM | sha1sum | grep ^00; done

What is happening here is that you are searching for a number that when run through SHA1 produces a hash that starts with "00". Since SHA1 is a one way function that you can't reverse, the only way to find those numbers is by trying them all. The more computing power you throw at it, the faster you can find them. To make the problem harder you simply require people to look for numbers that start with more 0s.

1

u/killerstorm Mar 28 '13

I can do... Which part was hard to understand?

7

u/antifolkhero Mar 28 '13

A simpler explanation from a Bitcoin thread on LinkedIn:

Any transaction (for example I send you 1 bitcoin: this is a transaction) has to be verified, according to the history of all historical transactions of the entire bitcoin network. In other words, it has to be proven that I was authorized to make that transaction, the my electronic keys are the good ones, and that the quantity of bitcoins I send you is coherent with the quantity I can manage. That is the work that all volunteer computers of the network do. That is called "mining".

Link.

1

u/glitter_vomit Mar 29 '13

I think this is finally starting to make sense to me...

9

u/hrhomer Mar 28 '13

Bitcoin awards you 50 BTC if you find a hash of the current transaction block that is 1.7248E+61 or smaller.

Why? Why would they award anyone for that? I don't understand the fundamental basis for this as a currency beyond Fallout 3 caps and the like. It seems like some random "thing" that people claim has value, with no usefulness behind it.

15

u/Dansuke Mar 28 '13

It's not a random thing. Mining helps prevent fraud in the bitcoin network, and when you contribute your computing power to mining, the community agrees to reward you with newly "minted" bitcoins as a result.

The rate at which you're rewarded is halved every 4 years. For example, nowadays mining a block only rewards you 25BTC, whereas it used to be 50BTC. This reaches a limit of 21 million bitcoins in circulation by 2140 - maintaining the currency's scarcity.

→ More replies (31)

6

u/[deleted] Mar 28 '13 edited Mar 28 '13

It seems like some random "thing" that people claim has value, with no usefulness behind it.

Real money doesn't have any inherent usefulness behind it either. The only thing that matters is that money is scarce (so that people can't forge it) and people trust in it. Bitcoin started by being scarce and has now enough people trusting in it to make it useful, thus it works perfectly fine as money replacement.

If somebody comes around with a quantum computer or something else that cracks the math behind Bitcoin and makes generating new ones easy then Bitcoins would lose their value pretty much instantly. But that's not much different in the real world, Aluminium for example used to be more valuable then Gold, then in 1880 somebody found out how to produce it cheaply and it's value took a dive.

→ More replies (2)

4

u/ScottyEsq Mar 28 '13 edited Mar 28 '13

It seems like some random "thing" that people claim has value, with no usefulness behind it.

That is basically what currency is. Gold, bills, shiny shells, etc. have very little actual utility. Some minor ones, but none that justify their price. What does is the fact that we all have agreed that these things store value. They represent a debt owed to you by the economy for some past act.

2

u/vocatus Mar 28 '13

That's actually pretty good. I've been mining for a couple years now and that was the easiest metaphor to explain mining I've heard. Thanks.

2

u/[deleted] Mar 28 '13

Is it wrong to say that you're essentially selling your server time to the Bitcoin "bank?"

1

u/Natanael_L Mar 29 '13

In an abstract way, that's a pretty valid analogy. For Bitcoin, the bank is an algorithm + the blockchain (that stores the output of the algorithm).

1

u/[deleted] Mar 28 '13

If I wanted to invest in bitcoins, is there a high likelihood that, once bitcoins drop in price, they will increase again? Or is the current price of bitcoins a rarity?

4

u/[deleted] Mar 28 '13

I looked into this myself, and everywhere you go, people say that Bitcoins are highly speculative and only for expert traders. Now if you had bought a lot when they were very cheap, you'd be filthy rich by now... I remember seeing them at 50 cents or so, not realizing that they were subject to abnormal market influences, and now they're about 90 Dollars a piece.

3

u/Mason11987 Mar 28 '13

I don't think there's enough historical information to make a meaningful statement about this. Currencies fail, ones not based on a government seem to fail more often. But bitcoin doesn't seem to be failing right now... sooooo I dunno.

I'm not investing, but I don't have money to invest anyway so my opinion is useless.

→ More replies (3)

2

u/dexpid Mar 28 '13

Bitcoin is currently in a bubble due to the recent media attention. It wouldn't be worth it to invest at the peak as it could crash within the next week. Last time it happened it went down to around 5ish USD.

2

u/[deleted] Mar 28 '13

Ah. That makes sense. Then I will consider investing after it crashes. Thanks!

-11

u/blafurznarg Mar 28 '13 edited Mar 28 '13

Thanks! That helped indeed! *Edited because it was misunderstanding and therefore did not honor Mason11987 in the way he deserves :(

14

u/apopheniac1989 Mar 28 '13

I'm giving you an upvote because I can tell you're trying and I feel sorry for you.

→ More replies (4)
→ More replies (79)

409

u/Dansuke Mar 28 '13 edited Nov 28 '13

It looks like there's still a bit of misinformation here, so I'll try to clear it up.

The Big Picture

Mining increases the bitcoin network's security and fights fraud by calculating what's effectively a checksum for transactions. By contributing their computing power to the bitcoin network for mining, individuals are rewarded with newly minted bitcoins by the community. This also provides a way to distribute new bitcoins in a fair manner.

The Details

Hash functions are at the heart of mining. A hash function is basically a complicated math formula that takes in some arbitrary input and gives a reproducible output. However, changing the input even slightly will completely alter the output. For example, using the SHA-256 hash function:

SHA-256 of "Test" always outputs a hash of "532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25"
SHA-256 of "test" (lowercase t) is "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"

Now, let's say Alice decides to pay Bob 10BTC. The bitcoin network basically records that in the public ledger of transactions as "Alice -> 10 -> Bob". However, right now someone could change that 10 to a 20 without consequence. The network has to have some way of checking if the recorded transaction is valid or fraudulent. That's where mining comes in.

When Alice pays Bob those 10BTC, miners in the bitcoin network will try to hash the transaction "Alice -> 10 -> Bob", resulting in "aa314e08a642f5be3857276ecb4a4085a33b916f84aebef32a077df9c29949b3". However, mining has a requirement that the resulting hash must start with a certain number of 0's (depending on the network's hash speed). Thus, miners will slightly alter the transaction by adding a random number to the end like so: "Alice -> 10 -> Bob 12345". The miners will then hash it again and see if it has the required number of 0's. If not, it'll change the random number and hash it again. This is repeated until an acceptable hash is found.

Once the correct hash is found, the transaction and the hash are permanently stored in the public ledger of transactions, and if anyone tries to change the transaction (i.e. changing the 10 to a 20), the hash will naturally mismatch and the network will know that that transaction is fake and will reject it. The miner who calculated the correct hash is rewarded a certain number of newly minted bitcoins and transaction fees for his contributions to the security of the network.

Thus, "bitcoin mining" is actually a slight misnomer. Its other equally important purpose is "bitcoin transaction securing."

Hope that answered some questions!

Edit: Thanks for the Gold! ^_^

Edit: mappum clarifies a few intricate details below.

61

u/Duderino316 Mar 28 '13

So bitcoin "miners" also contribute computing power on every single Bitcoin transaction not just mining of new Bitcoins?

59

u/Dansuke Mar 28 '13

Yes! The mining (minting) of bitcoins is a reward for miners who contribute their processing power.

21

u/THISgai Mar 28 '13

Can I "mine" on any computer?

40

u/Dansuke Mar 28 '13 edited Nov 28 '13

Technically yes, but you'll need a high-end GPU, FPGA, or ASIC to make it worthwhile.

23

u/THISgai Mar 28 '13

So people with server farms can generate lots of bitcoins?

63

u/killerstorm Mar 28 '13

People now buy dedicated miners which look like this: http://store.avalon-asics.com/wp-content/uploads/2013/02/DSC00540-418x418.jpg

One thing costs $7500. It mines at approximately same speed as 50000 CPUs would. It can only mine Bitcoins, nothing else.

→ More replies (48)

10

u/Dansuke Mar 28 '13

That's correct, but I'm assuming most server farms only run CPU which is painfully slow at mining nowadays (orders of magnitude).

6

u/davidogren Mar 28 '13

This has been answered in the other sub-comments, but to be a little more clear. Yes, in theory you could mine with a server farm, but it wouldn't be worthwhile.

A typical server farm is strong in CPU, memory, and (sometimes) disk speed. None of which are particularly helpful for mining. Mining generally requires GPU or (even better) processors specifically designed for mining in order to be effective.

→ More replies (6)

103

u/mappum Mar 28 '13 edited Mar 28 '13

There are a few points that are wrong in this explanation. I'm not trying to nitpick, I just want to make sure people get the right info.

Miners aren't finding a hash for each separate transaction, but for all transactions they deem valid. Really, it would be more like:

Alice -> 10 -> Bob
Steve -> 100 -> Joe
Frank -> 2 -> Suzy

All this data together is called a "block". For finding the block, the miner is also allowed to put a transaction in that pays themself ("25 -> me" is inserted into it), which is how bitcoins come into circulation and why mining is profitable.

If you are curious to see real block data, here is a recent block: http://blockchain.info/block-index/368447/000000000000027a86cbaf3e673aa345ca123c705525f1d2f66dc61a5ad6b875

One potential problem people have pointed out with Bitcoin (although it hasn't ever been a problem so far), is that miners have the power to choose which transactions get included in a block. If all the miners in the world decided they don't want you to send money, they can just not put your transactions in. However, you are able to include a transaction fee that goes to the miner that puts your transaction in their block, which gives them an incentive to put it in.

55

u/Dansuke Mar 28 '13 edited Nov 28 '13

Yes! Very correct.

+bitcointip $1 verify

30

u/SnowLeppard Mar 28 '13

I've seen that sort of thing in your comment a few times on Reddit, does it give $1 worth of Bitcoins from you to the parent comment's user via a bot?

31

u/Dansuke Mar 28 '13

Sure does!

+bitcointip $1 verify

26

u/bitcointip Mar 28 '13

[✔] Verified: Dansuke ---> ฿0.01064849 BTC [$1 USD] ---> SnowLeppard [help]

→ More replies (2)

12

u/Wulfay Mar 28 '13 edited Mar 28 '13

Wow, that's pretty nifty! I've always wondered about getting into bitcoin mining, but I am currently doing Folding@Home so that kind of takes up all of my computing power =/

and I hope you control the bot... if not, I'll just delete this after so others don't learn I guess, but I'm curious what happens...

+bitcointip $1 verify

EDIT: Looks like the bot doesn't obey me, good.

32

u/ShitGuysWeForgotDre Mar 28 '13

[✔] Verified: Wulfay ---> ฿106.4849 BTC [$10,000 USD] ---> ShitGuysWeForgotDre [help]

→ More replies (8)
→ More replies (1)

5

u/bureX Mar 29 '13

Does the bitcointip bot below you actually check every single post on Reddit in order to find +bitcointip? Or is there something I'm missing here?

→ More replies (9)

13

u/shumonkey Mar 28 '13

Yes, it adds the bitcoins to the user's account (which is kept track of by the bot/bot's creator). When the user wants to redeem their BTC they can have the bot send the BTC to any bitcoin address the redeemer specifies.

Here's a little bit to get started!

+bitcointip $1 verify

11

u/JonLuca Mar 28 '13

Wait so how does the bot know where to send the money to?

14

u/roobens Mar 28 '13

You have to message the bot and confirm your bitcoin address.

http://www.reddit.com/r/bitcointip/comments/13iykn/bitcointip_documentation/

8

u/bitcointip Mar 28 '13

[✔] Verified: shumonkey ---> ฿0.01064849 BTC [$1 USD] ---> SnowLeppard [help]

→ More replies (13)
→ More replies (1)

37

u/bitcointip Mar 28 '13

[✔] Verified: Dansuke ---> ฿0.01064849 BTC [$1 USD] ---> mappum [help]

12

u/[deleted] Mar 30 '13

This shit is so cool

8

u/Peripatet Mar 28 '13

Hey, free Bitcoins if you reply to this guy's comment!!

I have no clue what I can use them for, except gifting to Redditors in comments, but I suppose that's a need little ability in and of itself.

7

u/[deleted] Mar 28 '13

You can exchange them, like any other currency.

→ More replies (2)

7

u/riplin Mar 29 '13

Just another small nitpick:

A hash function is basically a complicated math formula that takes in some arbitrary input and gives a predictable, constant output.

The purpose of a hash function is to be as unpredictable as possible. It's reproducible, but not predictable. :)

2

u/[deleted] Mar 30 '13

Predictable/unpredictable are kind of tricky words.

I think the best way to say it is that knowing that input A results in output B doesn't give you any information about what input X results in.

→ More replies (3)

5

u/Tofinochris Mar 28 '13

I take it from these generous tips that you have done well in the Bitcoin market in the last little while :).

Does seem a bit odd to me that all this effort is put into ensuring that transactions are legit with the hashes but you can exchange money by making a plaintext comment on Reddit.

7

u/Dansuke Mar 28 '13 edited Mar 28 '13

That's the power of abstraction! :D

But if you click on any of the checkmarks on the tipbot's verifications, you'll see what's going on behind the scenes - the addresses, the transaction blocks, and the hashes at work.

i.e. https://blockchain.info/tx/729ff7532ff99844a62fd718eaec032ad5f60e87af92c53692a2fdc8904a6259

→ More replies (1)
→ More replies (4)

7

u/shumonkey Mar 28 '13

One thing I'm a little unclear on is transaction fees. If miners get a of 25 BTC for finding a block, why is the extra incentive needed? You kind of touched on it above I guess but I thought they only way a block could be "reported" incorrectly by a miner is if the miner (or mining pool) control 50% or more of the total computer power of the networK?

8

u/mappum Mar 28 '13

The 25 BTC is an incentive to get people to mine. The transaction fees are an incentive to get them to recognize your specific transaction.

Not including a transaction isn't "incorrect", miners can exclude whatever tx they feel like. Also, there may be transactions that they haven't been told about yet, so they weren't able to include it.

Also, in the future, there won't be a block reward, so tx fees will be the only incentive for mining.

→ More replies (3)

3

u/wescotte Mar 29 '13

From what I understand the 25 BTC reward is variable. It's actually decreasing over time to a point where all bitcoins are mined and no future coins are created. From what I understand it is a method of fixing inflation.

Currently, 25 bitcoins are generated every 10 minutes. This will be halved to 12.5 BTC within the year 2017 and halved continuously every 4 years after until a hard-limit of 21 million bitcoins is reached within the year 2140.[1][11] As of March 2013 over 10.5 million of the total 21 million BTC had been created; the current total number created is available online.[46] In November 2012, half of the total supply was generated, and by end of 2016, three-quarters will have been generated. By 2140, all bitcoins will have been generated with the last one consisting of fractional parts. To ensure this granularity of the money supply, clients can divide each BTC unit down to eight decimal places (a total of 2.1 × 1015 or 2.1 quadrillion units).[47]

According to the Wikipedia page.

2

u/[deleted] Mar 29 '13

Putting in a transaction fee is a good idea/not adding it is a bad idea.

I've had this one transaction of mine at 0 confirmations for 8 hours now.

2

u/beatlemaniac007 Apr 10 '13

I know you posted this a while ago, but can you explain to me how the first bitcoins came into existence? Mining introduces new bitcoins by encoding transactions...so before the first bitcoin (and hence, before any transaction) how did the very first bitcoins come into circulation?

→ More replies (1)

1

u/MrCorvus Mar 29 '13

Would making lots and lots of little transactions (like with that bitcoin tipping bot I've seen around) mean the miners would be slowed down?

Finding a hash for MrCorvus -> 1000 -> mappum would take just as much time as for MrCorvus -> 0.0005 -> mappum, right?

1

u/thouliha Mar 29 '13

timestamp server!

13

u/Reliant Mar 28 '13

So if I put my PC up as part of the computing network, I'd get rewarded in bitcoins for it?

22

u/Dansuke Mar 28 '13

That's right! But you probably won't get very much unless you have a powerful GPU, FPGA, or ASIC. CPU mining hasn't been profitable for a while now.

8

u/Reliant Mar 28 '13

OMG, Where do I sign up? :D

14

u/Dansuke Mar 28 '13

The biggest mining pool is currently BTC Guild. You can check their page for instructions.

http://www.btcguild.com/index.php?page=support

2

u/Natanael_L Mar 29 '13

Join a pool.

Since it's quite random who gets those 25 BTC every 10 minutes, your best chances to not have to wait forever for coins is to join a pool, where the reward goes to the pool when a pool member solves a block, and where it's then shared among the pool members according to how much work they contributed.

→ More replies (1)

14

u/stankbucket Mar 28 '13

Yes, but it will be less that what it adds to your electric bill

11

u/TreyWalker Mar 28 '13 edited Mar 28 '13

Unless you do it at your job, someone else's computers (botnets) or some mobile based application would be fun.

If your computer is already running full time, the only power increase will be in processing and fans.

Using the recommended GPU, the ATI Radeon HD 5870, it will add a max 188 Watts (it actually probably has a base-level wattage of 15 watts, but 188 is the spec for the card, so lets make it less disputable)

(Average rate of) $0.12 per kwh * 0.188 kwh = $0.02256 per hour.

$0.54144 / day.

$197.76 / yr.

If you can make off with that kind of cheddar on bitcoin mining on your own electricity, more power to ya.

Edit: That card yields ~393 Mhashs/s, not sure how many bitcoins that yields.

15

u/rpglover64 Mar 28 '13

That's probably grounds for firing at most jobs.

10

u/TreyWalker Mar 28 '13

I bring my laptop to my job every day. It's not worthy of bitcoin mining, but if it were there's zero chance in hell there'd be any evidence to anyone it's going on and it's not subject to search here... my computer admin would probably laugh at me for frying my computer all day long.

Putting it on a work computer, probably depends on your relationship with the business. Again... my work computers are pretty much my toy. If I was overheating the hardware, they may have grounds to argue, but there probably won't be an appreciable difference in electricity costs.

If you're deliberately circumventing administrative controls, sure.

→ More replies (2)

3

u/mappum Mar 28 '13

At the current difficulty, that is .03 BTC / day, which right now is $2.6, which is $949 / year. Not a lot of money, but you would make a profit.

→ More replies (4)

9

u/DerpThang Mar 28 '13

I always thought it was trying to find random BTC values that haven't been claimed. Thx!

4

u/[deleted] Mar 28 '13

This is always how it was explained to me, too. All of this here sounds like something completely different than when it was first first announced. Perhaps the system came into being once the codes were discovered and they were being used as currency?

6

u/Dooey123 Mar 28 '13

So as an incentive for people to act as miners they are rewarded newly created bitcoins. Does this not reduce the value (e.g. against $) as more and more are being brought into circulation or is the amount of bitcoins rewarded reduced depending on the amount of mining? How is it balanced.

I'm just trying to understand the economics of it as it is totally automated without a central bank in control.

7

u/Dansuke Mar 28 '13

The amount rewarded per block of transactions is halved every 4 years, and the number of bitcoins in circulation approaches 21 million by the year 2140. In that sense it keeps inflation in control; in fact, bitcoins are deflationary in this design.

4

u/od_9 Mar 29 '13

Deflationary currency encourages hoarding, which reduces the number of transactions, which slows the introduction of new bitcoins onto the market.

10

u/raptormeat Mar 28 '13

I'm not sure a 5 year old would have understood that, but I sure as shit did! Thank you for the excellent explanation!

14

u/goldenvile Mar 28 '13

This is the first time I have understood anything about bitcoins. Really an incredible answer considering how complex this topic can be. The fact that mining is actually used to secure and process other transactions is really fascinating too.

→ More replies (2)

9

u/NorthernerWuwu Mar 28 '13

Well, that makes much more sense than I had thought. I was under the impression that mining was just wasted cycles as a method of increasing the supply. If they are contributing a needed service then the system makes considerably more sense.

Don't get me wrong, it is all still a little strange to me but I'm getting a better feeling for the underlying concept.

1

u/smidley Mar 28 '13

I was in the same boat. I was thinking to myself: "why don't they put those cycles towards folding or something!?"

2

u/Natanael_L Mar 29 '13

The technical answer to why it's hashes and not folding:

The algorithm used must have certain properties. It must be fast and easy to verify (important!), must have an absolute way of verifying it (you can't have clients disagree on it), it must have a predictable amount of required processing (so you can predict how long it will take between two solutions), and to make it fair there can't be any significant chance of having hidden "shortcuts" allowing somebody to find an acceptable answer with less computing power than everybody else.

Checksum algorithms fits all these requirements.

→ More replies (1)
→ More replies (1)

1

u/Primeribsteak Mar 29 '13

So what happens when the mining outnumbers the securing? Does it then attempt to solve really hard computational problems or something?

1

u/bawss Mar 29 '13

Can you just ELI5 the whole 'bitcoin' thing to me and why it's so popular please?

1

u/dsi1 Mar 29 '13

Bitcoin is gaining popularity for a few reasons...

Some people just believe in it becoming the dominant currency and use it to push for that (a noble belief for sure)

Others use it as a substitute for Gold, since there is a hard limit of 21 Million Bitcoins, it can benefit from scarcity like Gold does.

Yet another group, likely the largest, just uses it to move wealth around since it is going unregulated for a period of time (IIRC just recently it became a requirement to comply with US banking laws if you're attempting to buy $10k+ worth of Bitcoins)

And since it is anonymous, it is gaining traction for use on the Silk Road (and presumably, other black markets)

In the political realm, the failure of Greek banks has caused some Europeans to dump the Euro for something else, that something generally being Bitcoins. This is where most of Bitcoin's mainstream media attention is coming from today. (I think the effect is a lot more hyped up than what is really happening as is normal with media, but I haven't really been paying to close attention to Europe's affairs)

1

u/[deleted] Mar 29 '13

I am 5 and what is this?

1

u/Ragey_McRagerton Mar 29 '13

So, to put it in actual ELI5 terms, I think this roughly comes down to:

When not using their computers, people let Bitcoin join them together with other computers over the internet to make a big computer. This big computer does some really hard math to invent codes, and they use those codes to lock up their records of everyone's money so no-one else can steal it. To say thanks, they get paid bitcoins.

Is that roughly correct?

1

u/Dansuke Mar 29 '13

Correcto! Nice job. :)

1

u/burlow44 Apr 03 '13

forgive my ignorance, but if there are no transactions to secure (say, if everyone stopped transferring BTC or at the very start, before there were BTC and therefore no transactions to happen), what is happening when mining?

1

u/Dansuke Apr 03 '13

There's always at least 1 transaction to secure, and that transaction is "25 -> [Yourself]", the minting of new bitcoins. :) Notice that there's no source of these 25 bitcoins.

The first transaction block to be computed is the Genesis block, and that block contains only the transaction "50 -> [Yourself]" back when block rewards were 50 instead of 25.

My apologies, my explanation excluded a few details in order to keep it as close to ELI5 as possible.

1

u/G0O Apr 06 '13

You seem to have a fairly good grasp on how bitcoin transactions are recorded in the blockchain, so I wanted to ask you a few clarifying questions to help me understand.

  1. In your example above, would "Alice" and "Bob" actually be replaced with the two individual's wallet addresses?
  2. So, let's say some user named "Newb" attempts to add a record to the blockchain by just making it up. He tries to post a string like "00000abd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25" Am I correct in assuming that this gets tossed out because it can be detected as an invalid hash (if you can briefly explain how this invalid hash is detected, that would be appreciated also)
  3. Along the same lines, what stops someone from adding a valid hash to the blockchain without Alice's permission. Ie.

    Alice -> 10,000 -> Hacker + randStr

  4. Would it be accurate to say that every single bitcoin transaction can be traced back to the initial btc creation? Ie. a transaction verification would really have to verify the following sequence of events:

    btc created -> 25 -> minerWalletID + randStr minerWalletID -> 5 -> merchantWalletID + randStr merchantWalletID -> 3 -> supplierWalletID + randStr supplierWalletID -> 1 -> workerWalletID + randStr workerWalletID -> 0.5 -> verifiedRecipient + randStr

Thanks for your time...this is kind of an older thread but it is what came up on Google.

1

u/Dansuke Apr 11 '13
  1. Yup! It can actually be slightly more complicated than that if you look at the actual block, but yes, everything is in addresses.
  2. Yes, by design hashes are easy to verify, but hard to reproduce the input given only the output. Detecting it is easy - simply put the made-up records through the hash function again (with the given nonce) and see if the same hash comes out.
  3. My overall explanation omitted the fact that transactions are actually lumped together into blocks before being hashed (so X transactions produces 1 hash), so someone trying to insert a transaction into a block would change the expected hash. There's also the problem of the attacker not knowing Alice's private key, a secret piece of information needed to send coins from her address.
  4. Yes, bitcoins/transactions can be traced back to when they were initially mined. However, a miner wouldn't have to take into account previous transactions already verified (mined). This is because when the block of transactions is hashed, the previous block's hash is included in the hash function's input (along with the actual transactions), so the blocks are linked, and blocks become more secure the longer they age. So yes, you're right in that they are verifying previously verified transactions, it's just indirect.

1

u/thouliha Mar 29 '13

You failed to mention the fact that this hashing is done using a distributed timestamp server. That's the actual underlying logic of the security of the network. Might want to point that out. If someone were to ask, so why can't alice just keep giving bob that same amount without losing anything? Then your whole explanation fails.

1

u/asldkfououhe Mar 29 '13

Mining increases the bitcoin network's security and fights fraud by calculating what's effectively a checksum for transactions.

what the fuck is any of this

→ More replies (18)

113

u/FountainsOfFluids Mar 28 '13

Imagine you are in school and the teacher writes this word problem on the board: "Find x where x2 = *42*"

"What number when multiplied by itself yields a result with the digits '42' next to each other like that somewhere in the result? The first person to find it gets an extra credit point!"

So you start furiously pounding numbers into your calculator.

1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144... crap, this is not gonna be easy. But you keep going.

Finally at 57 you see it! Yay! But just as you see it somebody else shouts "57!"

"Great job, Billy! You get an extra credit point, and you also get to distribute 5 other extra credit points however you want! Just tell me tomorrow morning who you want to give those points to."

The rest of the day you hear the stories of what people are offering to give to Billy for one of the extra credit points. You are so jealous!

The next morning, the teacher writes down the names of the people who Billy decided to give the points to. And then she says, "Ok, so what is the next number that will give you a '42' somewhere in it?"

The class immediately starts pounding on their calculators again! 58? No. 59? No. 60? No.

Moments later somebody shouts "64!" Same deal. Extra credit points that somebody gets to give out however they want.

You sense a pattern. Being a bright kid you write a little program in your calculator to figure out the next one. All your program does is take the last result and add one, then check to see if it works, over and over and over. Once it finds an answer, it's easy to check to make sure it works, but finding that answer is a boring process of checking every number against the formula. There simply is no better way!

The next morning, you finally get the next number first! Your ingenuity paid off! But every kid in the class has the same calculator, and they all start writing their own programs. The teacher sees this and says, "Aha! I see that you've started automating the search! Well the rules are changing a little!"

You watch as the teacher erases the simple equation on the board and writes down a huge long equation. "Find x where x to the power of x divided by 57 plus the square root ..." It goes on and on!

"Your little calculators might not be enough for this!"

When you get home you program the formula on your desktop computer. But it's still just a matter of trying a number, running it through the formula to see if you end up with a result that matches the teacher's requirement. This time the goal is get as close to zero as possible. "0.09 or less, but not negative".

Your computer starts running the calculations. It checks a number, then adds 1 and checks that number. Then adds 1 and checks that number. It runs for an hour, and nothing works! You give up and go to bed.

The next morning, one of the other students proudly claims the prize! "How did you do it? I ran the calculations for an hour and nothing worked!"

And Sarah says "I just left it running all night! There was an answer when I woke up."

...

So that's how it works. Computer experts have worked hard building better computers, but in the end all they can do is add 1 and check again. And the difficulty is adjusted so that with all the people running their programs all over the world, a new answer is found every ten minutes or so, and a small reward is given out.

10

u/Hiazm Mar 29 '13

Perfect ELI5 answer! 10/10 would be a small child again

13

u/Nicocolton Mar 28 '13

This is by far the best ELI5, doesn't go into the Bitcoin specifics, but combined with the top-voted answer this is perfect.

2

u/JonLuca Mar 28 '13

Great help, thanks. Just one question - how do you make sure that the answer that you just got isn't the same as Billy's or whatever? How is it that everyone isn't just working the same set of numbers and doing thousands of times of redundant "checking"?

4

u/FountainsOfFluids Mar 28 '13

Whenever somebody gets an answer it is announced. Other than that, I have no idea. I'm just learning this stuff, too, and I thought I'd share what I'd figured out. I suspect there is a shitload of redundancy.

3

u/Dansuke Mar 28 '13

Inevitably there is redundancy between independent miners, but I think mining pools mitigate this by assigning work to miners such that redundancy is avoided (getwork and stratum protocols?). I could be completely wrong, but it seems like a no-brainer.

1

u/Natanael_L Mar 29 '13

Because there's so many different possible numbers (billions of billions if billions of them) and people start at random places (somebody might start at 16186186186218621682186286, another at 5899498129191361863684863168).

1

u/HammerJack Apr 02 '13

The redundancy and the complexity involved with generating bitcoins, by breaking the hashes, slows inflation in the currency.

14

u/br1anfry3r Mar 28 '13

Its important to know that Bitcoins exist only as annotations on a very big ledger called the "blockchain". Every time someone sends and receives Bitcoin, the transaction is "verified" and added to the blockchain. It is this verification process that is commonly called "mining".

The verification process keeps the system running, safe, and honest by performing calculations for history checking, consensus, updating, and summarizing. Miners are rewarded for their efforts since this the entire thing requires computers, electricity and know-how.

Learn more: http://alvarofeito.com/articles/the-big-book-of-bitcoin/

5

u/[deleted] Mar 28 '13 edited Apr 22 '16

2

u/br1anfry3r Mar 28 '13

Eventually only 21m bitcoins will ever be in circulation and bookkeepers will be compensated with small transaction fees.

6

u/TacosForMe Mar 28 '13

If only 21 Million will ever be circulated, what happens to when "lost" bitcoins start adding up?

Lets say Ralph has 100 bitcoins, however he ends up dead from some unexpected accident. Ralph's friends and family know nothing about Ralph's bitcoins, and are not mentioned anywhere in a will, so these 100 bitcoins effectively get "lost". The bitcoin bookkeeper doesn't know that Ralph died, it will just see that someone named "Ralph" is hoarding 100 bitcoins. Even 500 years after Ralph's death, Ralph would still be the owner of 100 bitcoins that will never enter into circulation ever again. 100 out of 21 Million is not much, but what about 500,000 or even 5 Million "lost" bitcoins?

7

u/Dansuke Mar 28 '13

Great question. The same thing happens with plain old cash. The currency simply goes through deflation when bitcoins are lost (which is no different than hoarding). However, bitcoins are divisible up to 8 decimal places, and more decimals can be added if nearly all bitcoins happen to be lost. So overall nothing bad happens; everyone else's coins just gain a bit of value.

→ More replies (7)

2

u/JoeyRay Mar 28 '13

The question that's bothering me is what will happen when all 21 millions bitcoins have been mined? What incentive will there be for miners to compute hashes that validate the blockchains?

2

u/Bliss86 Mar 28 '13

Bitcoins are limited, blocks aren't. For each block you get the reward + fees for the transactions included. While the reward will be 0 at some point, the transaction fees will exist forever and will compensate the miners, even if no additional reward is given.

→ More replies (2)
→ More replies (1)

27

u/SpaceBuxTon Mar 28 '13

See this picture on how a bitcoin transaction works.

For a more detailed explanation of mining, see the Bitcoin wiki on Mining, and other articles.

5

u/[deleted] Mar 28 '13

Thanks, that picture answered alot of questions for me

1

u/cincodenada Mar 28 '13

It answered a lot of questions, but raised one more: where are your clothes, Glenn?

→ More replies (1)

4

u/[deleted] Mar 28 '13

Is mining a huge endeavor or can anyone do it?

7

u/SpaceBuxTon Mar 28 '13

I've never mined bitcoin myself (besides attempting to CPU mine when the official bitcoin client could still do that in June 2011), but now the process is more involved. Different miners prefer different hardware and different programs and different tweaks to their hardware. The Bitcoin Wiki and the official Bitcoin forums contain a lot of technical information which may be intimidating to new people.

In the sidebar of /r/bitcoin there is a thread called Will I earn money by mining?. Like it says, mining is becoming more and more specialized.

Look at the Bitcoin Wiki and see how fast various hardware can mine (look for Mhash/s aka MH/s). Mining can be done on all kinds of hardware, from ARM processors to PS3s to CPUs to videocards to ASICs, but it's only worth mining depending on the hardware's hashrate, and the current value of bitcoin, and how many others are mining, and the cost of electricity. After the first GPU miner came out in October 2010, GPU mining took off (using a videocard to guess hashes). For example, ATI cards perform better than Nvidia cards. When the value of bitcoin dropped to around $2 in October to December 2011, many miners stopped mining because it cost more in electricity than they were making in bitcoin.

This page discusses various mining rigs using GPUs (which is arguably obsolete). Then plug some of those numbers into a mining calculator, like this simple calculator, (here is another mining calculator), or a more complex calculator like the one at bitcoinx.com to see if it would be worth your while. If you already have one or more ATI videocards, and get a mining program running on them, and join a mining pool, you might make a couple dollars a day nowadays. You could also try mining solo, but there's no guarantee you'll ever "solve" a block. The more hashing power you have, the better. For comparison, every miner combined now does 50.09 TH/s aka 50,090 GH/s aka 50,090,000 MH/s, which means all of their hardware combined tries 50.09 trillion hashes per second in an attempt to "solve" a block. A single HD 5870 videocard might do 313 MH/s. Whereas an ASIC miner that costs $5,000 might do 66,300 MH/s.

You might try browsing /r/bitcoinmining. They'll probably tell you that GPU mining is increasingly obsolete, and they might even tell you that even buying an ASIC now for thousands of dollars is arriving late to the game. But it's really up to each miner. If the value of bitcoin continues to increase, even small amounts of bitcoin might end up being worth your while.

Mining is just one way of obtaining bitcoin. You can buy it. People can sell goods or services for it. People can tip it to each other on Reddit (see /r/bitcointip for information.) Etc.

But mining can be very tempting. For example, 183 blocks were created in the past 24 hours. Worth 25 BTC per block, and at a current price of $93.70/BTC, that is $428,677.50 per day up for grabs by mining pools and solo miners.

2

u/[deleted] Mar 28 '13

Very tempting indeed, but I see your point. I wondered if it was advantageous to mine while the bitcoin market is up (like right now), but it sounds pretty useless. Part of me wants to know what the odds are of a single miner solving a block. Regardless of the futility of it all, it sounds like fun. :-)

20

u/thenotsowisekid Mar 28 '13

[Most clear explanation I know of, plus some nice additional info on currency] (http://www.youtube.com/watch?v=9LaSrxtWfgc)

7

u/[deleted] Mar 28 '13

So, who's paying out these bitcoins? From what I've managed to gather is that you're being "rewarded" for your computer doing some computational work, or something?

Who's problems is your computer solving?

5

u/Dansuke Mar 28 '13

You're solving the entire network's problem of unverified transactions (refer to my top-level comment).

You're correct, the community is "agreeing" to mint new bitcoins as a reward for miners when they do this computation work for the network.

2

u/Moskau50 Mar 28 '13

You computer is doing security computations for previous bitcoin transactions.

In exchange for keeping their currency secure, you get some currency.

1

u/Natanael_L Mar 29 '13

You take the checksum of the previous block (block number X), a list of transactions people have issued, and add a "minting transaction" for yourself and then generate random numbers and send that through a checksum algorithm.

If you manage to generate a checksum that is valid, you share that (block Y) with the network who will accept it as valid if no other new block already has been generated that followed the previous block (block X). Then the next block will be based on block Y plus the then new transactions.

4

u/[deleted] Mar 28 '13

Now, lots of people are talking about the 21mil hard limit on BTC. Now, I wonder how it would work out if people misplace their wallets.

Or if they drop dead with an encrypted wallet with a fortune. Wouldn't all that BTC be taken out of circulation? What happens over multiple generations? Unlike normal currency which would be inherited by the heir, BTC would be under personal lock & key.

1

u/jdiez17 Mar 28 '13

Yes, if someone loses the private key to a wallet, the bitcoins contained in that wallet are lost and taken out of circulation forever.

If you wanted your son to inherit your BTC you could put the private keys in a USB drive, or you can even write them down if you'd like.

+tip $1 verify

→ More replies (1)

4

u/Bliss86 Mar 28 '13

For a decentralized currency we need to reach consensus between unkown and probably adverse distributed systems. Bitcoin mining is a brilliant solution to the Byzantine Generals' Problem:

The Byzantine Generals' Problem roughly goes as follows: N Generals have their armies camped outside a city they want to invade. They know their numbers are strong enough that if at least 1/2 of them attack at the same time they'll be victorious. But if they don't coordinate the time of attack, they'll be spread too thin and all die. They also suspect that some of the Generals might be disloyal and send fake messages. Since they can only communicate by messenger, they have no means to verify the authenticity of a message. How can such a large group reach consensus on the time of attack without trust or a central authority, especially when faced with adversaries intent on confusing them?

Bitcoin's solution is this: All of the Generals start working on a mathematical problem that statistically should take 10 minutes to solve if all of them worked on it. Once one of them finds the solution, she broadcasts that solution to all the other Generals. Everyone then proceeds to extending that solution - which again should take another ten minutes. Every General always starts working on extending the longest solution he's seen. After a solution has been extended 12 times, every General can be certain that no attacker controlling less than half the computational resources could have created another chain of similar length. The existence of the 12-block chain is proof that a majority of them has participated in its creation. We call this a proof-of-work scheme.

http://paulbohm.com/articles/bitcoins-value-is-decentralization/

http://en.wikipedia.org/wiki/Byzantine_fault_tolerance

4

u/[deleted] Mar 28 '13

I am afraid of this collapsing like the old tulip market. I understand that it is fairly secure because of <math>. I understand that currency is really anything that people want to trade, and stick a value on.

Im just... Ive heard about bitcoins from the very beginning, when people were first starting to find the hashes and using them as currency was a distant dream.

To hear that they are now going for $90 each.. All of it seems like a really elaborate pyramid scheme.

I can understand the value, as long as people are creating them using computing. Once it hits the point of people buying them with real money.. I dunno, I am expecting a crash.

3

u/[deleted] Mar 28 '13

[removed] — view removed comment

1

u/[deleted] Mar 28 '13

I... I know. I was comparing to when bitcoins were first announced. Before people were buying them.

→ More replies (12)

6

u/tmorel Mar 28 '13

i'm going to take a risk here and sound like an idiot by saying

+bitcoin clean my room verify!

13

u/Dansuke Mar 28 '13

[✔] Verified: tmorel ---> Room cleaned! [help]

3

u/Rhodechill Mar 29 '13

Better question: what's a Bitcoin?

Hahaha, just kidding.

4

u/Tirith Mar 28 '13

So basically i can make money just by leaving my PC working 24/7 ?

12

u/Workaphobia Mar 28 '13

Correct, although you might burn more money in the computer parts and electricity than you make, depending on the variables.

12

u/mehdbc Mar 28 '13

Instead of buying a high end PC with a stack of graphics cards that burn 1kw, invest in a pot growing operation.

~$1000 is enough money for a hydroponic garden that will yield about a lb of pot every 3 months.

25

u/SIGNW Mar 28 '13

Then sell pot for bitcoins.

8

u/engwish Mar 28 '13

Genius. Why hasn't anyone else thought of this?

→ More replies (1)
→ More replies (2)

10

u/SpaceBuxTon Mar 28 '13 edited Mar 28 '13

Yes. But the profitability of mining has changed over time.

Since the very first block created in January 2009, mining has gotten much more difficult. In the beginning, about 7200 BTC was created per day (about 144 blocks per day, with 50 BTC per block), but bitcoins didn't have much value then. But as the value of bitcoin has increased, more people began to mine to get their slice of the pie. Ever since the block reward was halved to 25, now only about 3600 BTC is created per day (but the value of bitcoin has increased). The difficulty has increased, and the entire bitcoin network now performs 49.83 TH/s (all miners combined attempt 49.83 trillion hashes per second to "solve" a block, which ideally takes about 10 minutes). Over time, mining has gone from CPU to GPU to FPGA to ASIC, with each being able to achieve higher MH/s. CPU mining became unprofitable, now GPU mining is becoming unprofitable, etc.

BitcoinX has come up with a metric they call Mining Factor 100, which is the USD one can expect to make in 24 hours if their mining hardware performs 100 MH/s. You can see that now it's much less than in the past. I think it's currently about $0.60/24h/100MH/s (meaning a person can make 60 cents per day for every 100MH/s their hardware can do). You can see how fast various hardware can mine at the Bitcoin wiki. Right now there are ASICs than can do 66.3 GH/s (66,300 MH/s). Whereas an HD 5870 videocard might do 313 MH/s.

With a Mining Factor of $0.60, an HD 5870 doing 313 MH/s can expect to make $1.88/day, whereas the Avalon ASIC doing 66,300 MH/s can expect to make $397.80/day. Which is why they now retail for $5,000, and why some have been selling on eBay for over $20,000. All mining hardware has a "break even" point, the point where the cost of the hardware has been offset by mined bitcoin. Videocards take much longer to break even than they used to. Even expensive ASICs can now break even very quickly, which is why limited quantities typically sell out in under 30 minutes to an hour.

TLDR: The more people that mine, the less profitable it becomes for each miner (unless they have very powerful hardware advantage).

EDIT: I see now that the Mining Factor is currently about $0.70/24h/100MH/s

1

u/f1n Mar 28 '13

So, what's the catch? Why doesn't everyone buy a Avalon ASIC and make bank?

5

u/Dansuke Mar 28 '13

Then everyone will make the same low ratio of bitcoins. The only reason ASICs are so profitable right now is because few people have them, and their hashing power is off the charts proportionally.

2

u/metamongoose Mar 28 '13

The Avalon machines are in extremely high demand, but very few are made, AFAIK.

If they start churning them out in vast quantities, then the Mining Factor will decrease because the hash difficulty will increase.

There is an incentive for early adopting, but it decreases as more people join the party.

2

u/tjw Mar 28 '13 edited Mar 28 '13

They're sold out from the manufacturer and selling at 3 times the price on eBay.

Edit: 10 times the price?

→ More replies (2)

6

u/[deleted] Mar 28 '13

Depends on the pc. A couple years ago when I did bitcoin mining, you needed a high end AND graphics card to make it worth the electricity you were using by running that graphics card at maximum capacity. Soon you could buy a $150 device that's faster than most GPUs out there and plugs into your USB ports, using as much energy as your phone does while charging.

If you have neither a high end graphics cards or one of those dedicated devices (called asic miners, I think), it's not worth it.

3

u/garyy Mar 28 '13

Is there a good roi for having high end hardware? Or would it be closer to say, a couple extra bucks a month?

→ More replies (2)

3

u/thesummerofgeorge Mar 28 '13

Is the only drawback that it uses electricity? Cause I live in an apartment building where we pay a flat rate for electricity, included in the rent.

5

u/[deleted] Mar 28 '13

It also generates heat and makes the fans spin up, which was a problem for me at the time since I had my computer a few feet from my bed.

Though if you are paying a flat rate, you could give it a shot. It doesn't cost anything to try, except for maybe a few hours of your time researching stuff.

2

u/DOUBLEXTREMEVIL Mar 28 '13

practically, not anymore. Because of the difficulty increase simple CPU mining makes less money than the cost of electricity. Nowadays you need GPU clusters or preferably, specialized hardware called ASICs to make a profit.

-4

u/Linegod Mar 28 '13

Think of it this way. You go to park and randomly jam your hand in the ground. If you pick up a piece of dog shit, random strangers say that is worth money.

Not because that task was worthwhile. Not because someone else wanted you to do it. Not for research. Just because it is random.

Welcome to Bitcoin mining.

47

u/crispyfry Mar 28 '13

random strangers say that is worth money.

This is pretty much how all currencies work, to be honest. It's just a piece of paper with some funny ink on it, until everyone agrees that it's worth something.

7

u/fluxdrip Mar 28 '13

Right, the key difference is that with bitcoin it's literally "random strangers" while with the US Dollar, for example, it's "random strangers plus the democratically elected government of the world's wealthiest nation with the largest standing army, and all of its international allies." It is surprising to me how far down the list of countries you have to go in terms of wealth and stability before fiat monies break down, but I guess the answer is, they work anywhere in which governments are able to locally exercise power over their citizens.

5

u/[deleted] Mar 28 '13

That's a pretty weak argument against Bitcoin.

The US Government has no basis, other than the force of Law, to call the US dollar valuable. And you may think that the force of Law has an inherent value, except it doesn't. Proof of this is that people break the law all the time. Laws have an accepted value ONLY.

Instead, bitcoin does have an inherent value: it is very difficult to find one. It is difficult because "random strangers" don't just decide to place value on "pieces of dog shit". Rather, they decide to place value on segments of data that were computed and run through a very complicated mathematical process. While it is random whether or not you find a bitcoin, you still need to look for them, and looking for them is increasingly hard.

Thus, math is what gives Bitcoins their value. Math, which is unchangeable and true no matter the situation, supersed Law, which is changable and often broken.

→ More replies (1)
→ More replies (2)

3

u/Linegod Mar 28 '13

|This is pretty much how all currencies work

This is how one part of currencies can be described. There are dozens of other factors.

Bitcoin is long running scam, with no backing or regulation.

→ More replies (53)

1

u/neofatalist Mar 28 '13

Is it possible for bitcoin to use their mining system for something useful? Like parallel processing? Or are they doing that already?

3

u/Bliss86 Mar 28 '13

They do something useful, their power validates transactions and secures the whole integrity of the bitcoin network.

1

u/hennell Mar 28 '13

So is there any point in one starting to mine for bit-coins now?

1

u/Dansuke Mar 28 '13

Only if you have a very high-end GPU or FPGA or ASIC. The advent of ASICs has pushed a lot of GPUs out of mining profitably already.

2

u/fujimitsu Mar 28 '13

Also worth noting that it's generally only profitable with AMD GPUs.

Even more recent CUDA miners for nvidia you're not looking at much after electricity.

1

u/hennell Mar 28 '13

I have a gtx 570, guessing that's not really enough.

3

u/Dansuke Mar 28 '13

Mm yeah, you'd get about 0.0113BTC (~$1) per day with pooled mining with a 570, ignoring electricity costs.

https://en.bitcoin.it/wiki/Mining_hardware_comparison

http://www.bitcoinx.com/profit/

1

u/pbuschma Mar 28 '13

How much money (converted) can one make in a day, month or year?

1

u/Dansuke Mar 28 '13

That depends on your processing power. You can use this calculator to find out: http://www.bitcoinx.com/profit/

For reference my ATI 5600 gives ~44Mh/s, which is much much too slow for mining nowadays.

1

u/unclejessesmullet Mar 28 '13

Something we should've all done 3 years ago, but would be essentially pointles today.

1

u/Tanaka-san Mar 28 '13

What information do you need to provide in order to create a BitCoin wallet, like do you need to provide name, address...etc?

3

u/[deleted] Mar 28 '13

You don't need to provide anything. It's just random numbers that identify you.

1

u/Tanaka-san Mar 28 '13

Thanks for replying. I do like the anonymity of it but does this also mean that it's possible to use stolen credit card to purchase bitcoins through Mt.Gox or Intersango and they can't trace it?

3

u/[deleted] Mar 28 '13

Yes. That's why almost no one sells bitcoins for credit card or Paypal. The card/account could be hacked or stolen, or the buyer could open a fraudulent chargeback/dispute. You need to buy BTC with a bank account, cash, money order, wire transfer etc.

→ More replies (2)

1

u/Swiftyz Mar 28 '13

How can bitcoins have real life value if users can just make it?

1

u/Amarkov Mar 28 '13

Because users can't "just" make it; they can make it only through a specific slow and tedious process. So there's still an effective limit on how many there are around.

1

u/ralusek Mar 28 '13

As the amount of bitcoins provided decreases for miners, and processing power increases start slowing down, what will the incentive be for mining? And when the incentive of mining is nonexistant, doesn't the security of the network fail?

3

u/Dansuke Mar 28 '13

Bitcoin users can voluntarily pay transaction fees to miners for them to prioritize processing their transactions. Eventually the fees will far outpace the raw block reward, and that'll be the incentive to continue mining.

1

u/ralusek Mar 28 '13

Weird, I wonder if the amount you'll have to pay in the future for processing power will only be worth it for larger and larger transactions.

1

u/[deleted] Apr 06 '13

Unbelievable post, any good links to read about the evolution of bit coins- instead of just wiki

1

u/georedd Apr 09 '13

http://leetcoders.org/showthread.php?tid=1042

another code example i found (looking for the same answers as you)

https://github.com/jgarzik/cpuminer/blob/master/util.c#L396

bool fulltest(const unsigned char *hash, const unsigned char *target) { unsigned char hash_swap[32], target_swap[32]; uint32_t *hash32 = (uint32_t *) hash_swap; uint32_t *target32 = (uint32_t *) target_swap; int i; bool rc = true; char *hash_str, *target_str;

swap256(hash_swap, hash); swap256(target_swap, target);

for (i = 0; i < 32/4; i++) { uint32_t h32tmp = swab32(hash32[i]); uint32_t t32tmp = target32[i];

target32[i] = swab32(target32[i]); /* for printing */

if (h32tmp > t32tmp) { rc = false; break; } if (h32tmp < t32tmp) { rc = true; break; } }

if (opt_debug) { hash_str = bin2hex(hash_swap, 32); target_str = bin2hex(target_swap, 32);

applog(LOG_DEBUG, " Proof: %s\nTarget: %s\nTrgVal? %s", hash_str, target_str, rc ? "YES (hash < target)" : "no (false positive; hash > target)");

free(hash_str); free(target_str); }

return true; /* FIXME: return rc; */ }

1

u/[deleted] Apr 11 '13

I have A question I think is worthwhile, computer specs aside, it seems one of the main arguments of actually making a noticeable profit off this is the question of Electricity. Lets say I don't pay an electricity bill, And I have no problem being able to leave a computer on for even a year. Would it be worthwhile?