Pages:
Author

Topic: Difficulty - I don't get it (Read 1647 times)

full member
Activity: 201
Merit: 100
July 11, 2011, 12:11:15 AM
#22
Yeah, even then, it's only a mater of time until my transaction gets mined by an honest miner Smiley
The guy who invented it is really a genius - Edison is nothing next to him Smiley

i wouldnt go that far...but thats just my 2cents
legendary
Activity: 1708
Merit: 1010
July 08, 2011, 03:38:44 PM
#21

The guy who invented it is really a genius - Edison is nothing next to him Smiley

If Satoshi is, in fact, a single individual, then he is a polymath.  The breath of professional grade knowledge required to produce this, and the rather sudden manner in which it just sprung onto the Interent in 2009, leads me to assume that Satoshi isn't likely to be a single person, IMHO, any more so than LulSec would be.
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 08, 2011, 03:23:14 PM
#20
Yeah, even then, it's only a mater of time until my transaction gets mined by an honest miner Smiley
The guy who invented it is really a genius - Edison is nothing next to him Smiley
legendary
Activity: 1708
Merit: 1010
July 08, 2011, 03:19:43 PM
#19

What I think would be more dangerous is if he defines a filter that accepts some transactions, but not others. This would give him much more power than stopping all the transactions - so it's more likely to happen Smiley

Yes, but miner defined filters are part of the protocol.  It's expected that, in the future, some miners will simply choose to reject fee-less transactions, as an example.  Future bitcoin-banks could choose to ignore transactions, free or not, that are not issued by clients of other banks that they have reciproprocity agreements with.  Wal-mart could ignore transactions intended for Target, and vice versa, if they can identify them.  None of this would cause harm to the Bitcoin network at large, and is not an attack. The worst thing that can happen to such a transaction is that it's in limbo until such time that a miner that doesn't discriminate processes a block.
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 08, 2011, 03:14:01 PM
#18

But if he can prevent transactions and take all the freshly generated coins to himself - isn't it technically taking over the network?


Anyone who has such hashing power has to choose between assaulting the network and participating honestly within it.  If said person has 51% of the hashing power, and participates honestly, he can capture 51% of the newly generated coins.  He could choose to reject every transaction, and simply publish empty blocks, but this isn't an attack on the network, really.  It does no harm, since transactions can still be expected to be processed by the miners who capture the other 49% of blocks.  However, such a person could choose to prevent all transactions, but to do this he has to turn his miners to the task of reversing all of the blocks that are created by other miners, so he would still only be able to capture about the same number of blocks over the same time period.  The effective hash rate of the network would be cut in half, but only if the attacker is successful at reversing all honest blocks before another honest block could be built upon it.  The odds of this continuing for any extended period of time is remote with only 51%.
I know it is unlikely.
But you say that he can deny to publish all the transactions.
What I think would be more dangerous is if he defines a filter that accepts some transactions, but not others.
It could turn into corporations ruling over what can and what cannot be sent through.
So it's more likely to happen Smiley
legendary
Activity: 1708
Merit: 1010
July 08, 2011, 03:05:47 PM
#17

But if he can prevent transactions and take all the freshly generated coins to himself - isn't it technically taking over the network?


Anyone who has such hashing power has to choose between assaulting the network and participating honestly within it.  If said person has 51% of the hashing power, and participates honestly, he can capture 51% of the newly generated coins.  He could choose to reject every transaction, and simply publish empty blocks, but this isn't an attack on the network, really.  It does no harm, since transactions can still be expected to be processed by the miners who capture the other 49% of blocks.  However, such a person could choose to prevent all transactions, but to do this he has to turn his miners to the task of reversing all of the blocks that are created by other miners, so he would still only be able to capture about the same number of blocks over the same time period.  The effective hash rate of the network would be cut in half, but only if the attacker is successful at reversing all honest blocks before another honest block could be built upon it.  The odds of this continuing for any extended period of time is remote with only 51%.
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 08, 2011, 02:58:08 PM
#16
But also there is a problem that if anyone would manage to take over more than a half of the network's hashing speed - then he would basically take over the network.
Right?
So the difficulty is also to protect against that, not only to make it more expensive to mine bitcoins? Though, I have to admit that these two things are pretty much related Smiley

No, an attacker with 50% of the hashing would not be able to take over the network.  Such an attacker would be able to prevent transactions from being processed, and potentially double-spend coins that he recently possessed; but would still be unable to do anything to anyone's coins that he had never actually owned.  The 50% mark just makes an attack possible, it doesn't make it easy.
Sorry, I don't mean to spread any panic or something.
Of course he cannot get money that people had generated before.
But if he can prevent transactions and take all the freshly generated coins to himself - isn't it technically taking over the network?
hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
July 08, 2011, 02:55:51 PM
#15
The difficulty is like saying you need to get less than N when rolling a gazillion sided dice to be acknowledged as having cracked a block; people can get lots of dices and roll them at the same time to increase their chances of getting a small enough number, if people start using too many dices, the threshold is changed so that even with all the additional dices everyone together still only get a number bellow the threshold around 6 times per hour on average, same thing if people  start using less dices, but in the opposite direction.
legendary
Activity: 1708
Merit: 1010
July 08, 2011, 02:50:57 PM
#14
But also there is a problem that if anyone would manage to take over more than a half of the network's hashing speed - then he would basically take over the network.
Right?
So the difficulty is also to protect against that, not only to make it more expensive to mine bitcoins? Though, I have to admit that these two things are pretty much related Smiley

No, an attacker with 50% of the hashing would not be able to take over the network.  Such an attacker would be able to prevent transactions from being processed, and potentially double-spend coins that he recently possessed; but would still be unable to do anything to anyone's coins that he had never actually owned.  The 50% mark just makes an attack possible, it doesn't make it easy.
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 08, 2011, 02:41:44 PM
#13
But also there is a problem that if anyone would manage to take over more than a half of the network's hashing speed - then he would basically take over the network.
Right?
So the difficulty is also to protect against that, not only to make it more expensive to mine bitcoins? Though, I have to admit that these two things are pretty much related Smiley
legendary
Activity: 3066
Merit: 1147
The revolution will be monetized!
July 08, 2011, 02:36:54 PM
#12
The difficulty is used to control the Bitcoin economy, and inflation in a way?
Not really to control inflation. It has tended to lead to deflation, but the main reasons and advantages are to feed a steady, secure supply into the economy. It takes a lot of computer power to create a bitcoin. That means cost.  Mining provides an incentive to use energy to produce BTC. Difficulty makes it hard to overproduce. The more people trying with better machines, the harder it gets. Difficulty has to be adjusted because the hash power of all computers on the network is always changing.  
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 08, 2011, 02:33:25 PM
#11
I guess in a way it also controls an inflation, but only in a short term, since the total number of bitcoins is limited at the end, anyway.

But the difficulty, and the way it changes serves many purposes.
The most important one is I guess to decentralize the power of one PC, over the entire network.
So there is this difficulty that makes it difficult to screw over the others Smiley
newbie
Activity: 7
Merit: 0
July 08, 2011, 02:26:41 PM
#10
The difficulty is used to control the Bitcoin economy, and inflation in a way?
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 08, 2011, 02:20:31 PM
#9
Thank you. That's exactly what I needed to know.
legendary
Activity: 1708
Merit: 1010
July 08, 2011, 02:18:53 PM
#8
is the difficulty calculated to compensate the inherited error, or is it only to match the next 2016 blocks so they would be all 10min long from now on?

No, difficulty does not attempt to compensate for the inherited error.  So assuming that difficulty continues to go up, and never down, average block creation over the lifetime of Bitcoin will be something slightly faster than every ten minutes.  Thus it is possible that the entire production curve for bitcoins will be compressed slightly, and the blocks wherein the block reward will come earlier than projected.  However, there will still be exactly the same amount of bitcoins issued as is projected.
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 08, 2011, 02:09:33 PM
#7
is the difficulty calculated to compensate the inherited error, or is it only to match the next 2016 blocks so they would be all 10min long from now on?
member
Activity: 70
Merit: 10
July 08, 2011, 02:08:36 PM
#6
What hasn't been answered by the previous posts??
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 08, 2011, 02:05:58 PM
#5
One would think that on the bitcoin forum this kind of questions would rather get answered... Smiley
I'm not sure if the protocol allows to re-ask, but I would really appreciate anyone explaining this difficulty stuff to me.
So, should I keep asking until I get answered (or banned)? Or maybe re-asking wont help anyway, because the only way to know this is to look into the source code? Smiley
newbie
Activity: 27
Merit: 0
July 07, 2011, 02:32:45 PM
#4
theese 6 blocks/hour are in average, so you can say that the last block is found ~2033 (i dont know)
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 07, 2011, 02:17:05 PM
#3
but i wonder about a long term effect.
if they say that the last block that gives the actual mining incentive will be introduced in the year 2136 or something - how accurate is such statement?

is the difficulty calculated to compensate the inherited error, or is it only to match the next 2016 blocks so they would be all 10min long from now on?
Pages:
Jump to: