Author

Topic: What's the difficulty of testnet (Read 1105 times)

full member
Activity: 129
Merit: 100
August 05, 2014, 09:47:42 AM
#10
But so I have a question guys - why aren't there *many* testnets? That would split those with GH/s i TH/s and I could choose one testnet. Why not?

If wanted, you could always create your own Testnet in a Box Smiley


Thanks, but is there a way to explore blocks on such a thing? Explore using a nice interface, like blockexplorer? Smiley
sr. member
Activity: 318
Merit: 251
August 05, 2014, 09:45:47 AM
#9
But so I have a question guys - why aren't there *many* testnets? That would split those with GH/s i TH/s and I could choose one testnet. Why not?

If wanted, you could always create your own Testnet in a Box Smiley
full member
Activity: 129
Merit: 100
August 05, 2014, 09:33:46 AM
#8
Thank you both, but... this means I have basically no chance to solve a block with my 5 MH/s?  or even 3 GH/s Huh

(corrected 30 gh/s -> 3 gh/s)

Sure you have a chance, depending on the current difficulty. But if you want coins to test with there is at least one faucet that gives out several btc at once. should be sufficient for testing.

Thanks - I already got 0.44 btc this way, I just wanted to solve a block at least once in my lifetime:)

But so I have a question guys - why aren't there *many* testnets? That would split those with GH/s i TH/s and I could choose one testnet. Why not?
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
August 05, 2014, 09:32:06 AM
#7
Thank you both, but... this means I have basically no chance to solve a block with my 5 MH/s?  or even 3 GH/s Huh

(corrected 30 gh/s -> 3 gh/s)

Sure you have a chance, depending on the current difficulty. But if you want coins to test with there is at least one faucet that gives out several btc at once. should be sufficient for testing.
full member
Activity: 129
Merit: 100
August 05, 2014, 09:26:13 AM
#6
Thank you both, but... this means I have basically no chance to solve a block with my 5 MH/s?  or even 3 GH/s Huh

(corrected 30 gh/s -> 3 gh/s)
legendary
Activity: 1176
Merit: 1015
August 05, 2014, 09:22:05 AM
#5
Thanks!
But regarding this:
Quote
"If no blocks are found on testnet in 20 minutes it will reset difficulty back to 1"
Does also this mean, that difficulty is 1 for the next 20 minutes?

I don't think so.

I think he means this:

So no matter the current difficulty, if no blocks are found within 20 minutes, the current difficulty is set to 1.

Now if someone starts mining using TH/s of power, nothing will stop the difficulty rising from 1.

So it's not forced at 1 whilst people are mining, it's just a change applied once every time the criteria of {no blocks for 20 minutes} is reached.

I hope that explains it a little more.
donator
Activity: 1218
Merit: 1079
Gerald Davis
August 05, 2014, 09:20:47 AM
#4
Well no difficulty is also adjusted normally every 2016 blocks.

So in 2016 blocks the difficulty will rise based on the time of the last 2016 blocks just like it does on mainnet every 2016 blocks.  Exactly the same rules, exactly the same outcome.  If hashrate is constant that would be two weeks but it could be two months or two minutes.  

The only difference between the networks is that tesnet has an "anti-dirtbag reset" built into it.   If (in addition to all the normal difficulty adjustment rules) there is no block found in the last 20 minutes then difficulty is instantly and automatically reset to 1.  Note this is horribly insecure to use on a mainnet as it could easily be exploited by an attacker due to the loose timestamp rules but testnet isn't designed to be secure from reorgs.
full member
Activity: 129
Merit: 100
August 05, 2014, 09:16:29 AM
#3
Thanks!
But regarding this:
Quote
"If no blocks are found on testnet in 20 minutes it will reset difficulty back to 1"
Does also this mean, that difficulty is 1 for the next 20 minutes?
donator
Activity: 1218
Merit: 1079
Gerald Davis
August 05, 2014, 09:13:34 AM
#2
If no blocks are found on testnet in 20 minutes it will reset difficulty back to 1.  This is done because difficulty is suppose to remain low to allow easy block creation even with development CPU but at one time some idiots would dump TH/s on testnet drive difficulty to insane levels and leave.

Also difficulty 1 on testnet is equal to difficulty 0.5 on mainnet.  That threw me off the first I was looking at block hashes.
full member
Activity: 129
Merit: 100
August 05, 2014, 08:33:12 AM
#1
Hi.
Blockexplorer ( http://blockexplorer.com/testnet/q/getdifficulty ) shows that the testnet difficulty is 1.0, while bitcoin -testnet console window tells me it is 11.5

Why the difference?

edit: hmmm now blockexplorer shows 128167.76365264 and bitcoin client 1.0, what is happening?

Ah wait - the bitcoin client hasn't finished downloading the blockchain... does it explain it? But why blockexplorer jumped from 1.0 to 128167.76365264 ? Is the testnet difficulty being calculated more often than mainnet?

edit2: is that even possible that testnet's difficulty is 128167.76... that would make it useless...

edit3: blockexplorer again shows 1.0 - I can't find any info about this behaviour on https://en.bitcoin.it/wiki/Testnet except for "(...)introduced (...) a new rule to avoid the "difficulty was too high, is now too low, and transactions take too long to verify" problem (...) " - so what are the rules? Is the difficulty supposed to jump like that?
Jump to: