Bitcoin Forum
May 10, 2024, 07:15:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Overtaking the network - like tesnet  (Read 2152 times)
johnyh (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
January 16, 2011, 11:17:37 AM
 #1

Testnet is broken because too much power was puten there (thanks Xelister 1 and Artfortz 8 of 5970's Wink

It will take apparently months (with 1 5970) to reset diff to be usable by CPUs.

Is this design flaw? I think so.

Solution: lower diff also each say 72 hours passing with too few (or none!) blocks.

Also disallow overtaking network and forcing switch to own version of chain - with like totally other history for last 1 week, or 1 month, or even since the begining!
Solution: use more anchors (e.g. fixed points in chain on which everyone agrees).
Not only in source code but also distribute them. Say each 2 days?
1715325320
Hero Member
*
Offline Offline

Posts: 1715325320

View Profile Personal Message (Offline)

Ignore
1715325320
Reply with quote  #2

1715325320
Report to moderator
1715325320
Hero Member
*
Offline Offline

Posts: 1715325320

View Profile Personal Message (Offline)

Ignore
1715325320
Reply with quote  #2

1715325320
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715325320
Hero Member
*
Offline Offline

Posts: 1715325320

View Profile Personal Message (Offline)

Ignore
1715325320
Reply with quote  #2

1715325320
Report to moderator
1715325320
Hero Member
*
Offline Offline

Posts: 1715325320

View Profile Personal Message (Offline)

Ignore
1715325320
Reply with quote  #2

1715325320
Report to moderator
FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
January 16, 2011, 12:12:31 PM
 #2

Testnet is broken because too much power was puten there (thanks Xelister 1 and Artfortz 8 of 5970's Wink

It will take apparently months (with 1 5970) to reset diff to be usable by CPUs.
 

Haha, is this why nanotube and others were offering to buy testnet coins on bitcoin-otc? I guess that would make the adjustment faster, but less severe?

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
January 16, 2011, 03:23:17 PM
 #3

Adjusting the testnet difficulty every, oh, say 100 blocks (instead of 2016) seems like a good idea to me.

That's a trivial patch; I nominate ArtForz and Xelister to write it and submit a pull request.

Locking in the testnet block chain-- not so much.  I don't think it is worth the effort to either come up with a mechanism for distributing the lock-in points or manually put lock-in points in the source code.

How often do you get the chance to work on a potentially world-changing project?
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12982


View Profile
January 16, 2011, 03:52:55 PM
 #4

Changing the testnet target time per block to 5 minutes and removing subsidy adjustments would also be nice.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Cdecker
Hero Member
*****
Offline Offline

Activity: 489
Merit: 504



View Profile WWW
January 16, 2011, 04:59:43 PM
 #5

Changing the testnet target time per block to 5 minutes and removing subsidy adjustments would also be nice.
Why do I feel that at some point we'll drop the main network and stick with the test network Cheesy

Want to see what developers are chatting about? http://bitcoinstats.com/irc/bitcoin-dev/logs/
Bitcoin-OTC Rating
Anonymous
Guest

January 17, 2011, 02:25:58 AM
 #6

Adjusting the testnet difficulty every, oh, say 100 blocks (instead of 2016) seems like a good idea to me.

That's a trivial patch; I nominate ArtForz and Xelister to write it and submit a pull request.

Locking in the testnet block chain-- not so much.  I don't think it is worth the effort to either come up with a mechanism for distributing the lock-in points or manually put lock-in points in the source code.


Seems fair....they caused the generation difficulty lol.

Is that akin to sending them to the naughty chair?
tcatm
Sr. Member
****
qt
Offline Offline

Activity: 337
Merit: 265


View Profile
January 17, 2011, 02:37:08 AM
 #7

Testnet can be reset within 2 days by overtaking the blockchain. This will reset all balances. I might actually do that this week. Final difficulty will be ~ 0.5 after reset.
j16sdiz
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
January 17, 2011, 03:50:13 AM
 #8

I think taking over testnet is a feature, not a bug. This allow you do some code testing on the whole network.
gigitrix
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile
January 25, 2011, 07:20:48 PM
 #9

It's a bug in test net because no-one (comparatively) was using it.

It's impossible in live, because by the time governments care and devote their super-secret NSA SHA-256 bruteforce clusters, they still won't make that much of a dent Cheesy
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12982


View Profile
January 25, 2011, 08:26:12 PM
 #10

Sure the first 10-15,000 blocks will go fast even less than a day, but how would you overtake the testnet in just two days with those difficulty levels?

The new chain will consist of fewer blocks, but it will represent more work (difficulty per block), so Bitcoin will consider it "longer".

Was the 4x rule, considered, though? That might slow things down somewhat.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
tcatm
Sr. Member
****
qt
Offline Offline

Activity: 337
Merit: 265


View Profile
January 26, 2011, 12:56:00 AM
 #11

4x rule was considered and actually makes overtaking easier. You can create 5 (iirc) blocks per second (implicit limit in AcceptBlock()). Without the 4x rule difficulty would rise to too high after the first 2016 blocks. With the rule, it will rise to 4 and we can still generate the next 2016 blocks in a short time.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!