News for hackers. Stuff that matters.
Re:Used GPUs flood the market as Ethereum's price drops belo... by vortico on Sunday July 16, 2017 @07:35PM (#14784675)
Sorry if this is a dumb question, but does a single party control the difficulty level of Ethereum and Bitcoin? If so, it seems like they have massive control over the market. If not, how does it work?
Re:Used GPUs flood the market as Ethereum's price drops belo... by benchaney on Sunday July 16, 2017 @07:39PM (#14784684)
The target amount of time per block was set as a global constant (1 block every 10 minutes for bitcoin, 1 block every 15 seconds for ethereum). At fixed intervals, the difficulty is adjusted based on the actual rate of mining. The computation is deterministic, and agreed upon using the standard consensus mechanism. No individual controls it.
Re:Used GPUs flood the market as Ethereum's price drops belo... by dewhelmed on Sunday July 16, 2017 @09:01PM (#14784989)
So does that mean the network is now demanding each ether be mined every 12 seconds (20% harder statistic mentioned in the linked article), or the difficulty has increased naturally? E.g. there has been a large spike in the number of ether miners lately, which has caused the network to naturally readjust the difficulty to maintain the 15s/ether mining rate? If so, these GPU miners leaving the field would readjust the difficulty back again towards the original levels, or is this difficulty change a more permanent thing due to some underlying change in the technology?
Re:Used GPUs flood the market as Ethereum's price drops belo... by benchaney on Sunday July 16, 2017 @09:20PM (#14785037)
> So does that mean the network is now demanding each ether be mined every 12 seconds

You have it backwards. A 20% increase in difficulty would mean that a block was only being mined once every 18s. The intuition is that if there are fewer blocks, then it is harder to get one.

I think this change is due to the etherium difficulty bomb:

https://www.google.com/amp/s/themerkle.com/what-is-the-ether...

Re:Used GPUs flood the market as Ethereum's price drops belo... by TazeTSchnitzel on Sunday July 16, 2017 @07:36PM (#14784679)
The network collectively determines the difficulty based on how much compute power is being used. Specifically, it adjusts the difficulty up or down based on whether blocks are being found (relative to a constant expected duration) too quickly or too slowly respectively, which ensures the time taken to find blocks stays within a small interval.

The specifics of how Bitcoin does it can be found here: https://en.bitcoin.it/wiki/Difficulty

Re:Used GPUs flood the market as Ethereum's price drops belo... by ue_ on Sunday July 16, 2017 @10:10PM (#14785192)
How does "the network" decide this? And what's stopping me from setting the constant to something lower in my own mining code? Does it follow that if most people in the network are duped into a ridiculously high difficulty, that it will be impossible to mine more BTC?
Re:Used GPUs flood the market as Ethereum's price drops belo... by maxerickson on Sunday July 16, 2017 @10:22PM (#14785243)
The difficulty calculation is built into the software.

Solutions to the meaningless problem that must be solved to "win" a block are rejected if they don't match the network difficulty, so setting it low on your computer just wastes your computation entirely.

Re:Used GPUs flood the market as Ethereum's price drops belo... by ufo on Sunday July 16, 2017 @11:52PM (#14785535)
> And what's stopping me from setting the constant to something lower in my own mining code?

The difficulty constant is determined by an algorithm that takes into account the average time that it currently takes for a new block to be mined. It tries to balance difficulty so one block is mined every 10 minutes, on average (if blocks are being mined too fast the difficulty increases, if blocks are taking too long to mine it decreases). This algorithm is part of the "bitcoin protocol" and you can't just change it in your own mining code because the other nodes in the network will not recognize your blocks as valid if you use the wrong difficulty constant

> Does it follow that if most people in the network are duped into a ridiculously high difficulty, that it will be impossible to mine more BTC?

This is kind of what has already happened. Nowadays there is specialized bitcoin mining hardware out there which is has driven the difficulty into the stratosphere. Bitcoin mining using CPUs and GPUs has become unprofitable, which is why the small miners have moved on to alternative cryptocurrencies where they won't need to compete with specialized hardware.

Re:Used GPUs flood the market as Ethereum's price drops belo... by ue_ on Monday July 17, 2017 @10:07AM (#14788583)
Thanks for the response. Out of interest, what are the smaller currencies that may still be profitable to mine with a 2012ish GPU, aside from Etherum? I've read that LTC is unprofitable, for example.
Re:Used GPUs flood the market as Ethereum's price drops belo... by ufo on Tuesday July 18, 2017 @12:01PM (#14797576)
The value of the smaller currencies is tied to the value of bitcoin and bitcoin is down 30% this month so I doubt that there will be much profit to be made here today.
Re:Used GPUs flood the market as Ethereum's price drops belo... by colordrops on Sunday July 16, 2017 @07:39PM (#14784683)
I don't know about Ethereum, but in Bitcoin the amount of time previous blocks took to be found is used as an indicator of hash rate, and the difficulty is automatically adjusted to keep block generation at about 10 minutes per block, so no, it's not centralized. There isn't really anything that is truly centralized in BTC.