Bitcoin Forum
May 04, 2024, 07:02:51 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Difficulty change failsafe mechanism  (Read 1866 times)
Dobrodav (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
May 30, 2011, 08:48:33 AM
Last edit: May 30, 2011, 12:32:20 PM by Dobrodav
 #1

Lets imagine that in one point, we will suffer from sudden lost of interest in bitcoin,
due to legalization problems, or due to some other factors.

Computation power of the network will be suddenly changed,
but difficulty will stay the same for long time (max 2016 blocks).

In result, we will have situation when, possibly even one block, will not be solved in a day,
and therefore - extremely slow transactions confirmation.

How to handle that situation ?
Is there any precaution ?

If not, maybe one should be implemented?

Like, as example this ones, -
Change of difficulty every 12 hours, or 72 blocks.
Difficulty  starts to change, if no block was found in 1-3 hours. (Added)

Please comment.

1714849371
Hero Member
*
Offline Offline

Posts: 1714849371

View Profile Personal Message (Offline)

Ignore
1714849371
Reply with quote  #2

1714849371
Report to moderator
1714849371
Hero Member
*
Offline Offline

Posts: 1714849371

View Profile Personal Message (Offline)

Ignore
1714849371
Reply with quote  #2

1714849371
Report to moderator
1714849371
Hero Member
*
Offline Offline

Posts: 1714849371

View Profile Personal Message (Offline)

Ignore
1714849371
Reply with quote  #2

1714849371
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
May 30, 2011, 09:56:01 AM
 #2

I already asked at the opposite if someine could drop in 100 TH/s from outer space, driving difficulty so high that it's nearly impossible to mine...

Difficulty can only increase max. 4-fold, so that is being taken care of.

On the other extreme, to have only 1 block per day(!) quite a bit more than 99% of miners would need to suddenly drop out of the network. This is not realistic at all.

Even if the hashrate goes down to 25% of what it is right now, difficulty would adapt within 2 months.


I guess that an emergency client could be coded though in such extreme cases that you describe and if the majority of the (now very small) network uses this, it could be done. The problem is, that the eventually returning miners would also need to accept this (and could fight it easily, as they have more hashong power by definition).

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
Belkaar
Full Member
***
Offline Offline

Activity: 177
Merit: 100


View Profile WWW
May 30, 2011, 10:22:54 AM
 #3

The problem is that this is not necessarily only theoratical.

If I'd have a big mining cluster that burns a lot of electricity I would implement a safety net that shuts down the miners once the exchange rate drops below a certain amount where mining is not profitable any more. This could very well start a chain reaction because many people might panic-sell if large chunks of hashing power suddenly vanish. "Transactions are not getting confirmed any more, need to sell fast while it still works". This would drive the price down and auto-shutdown even more mining-rigs.

I think recovering from such an outage is not easy to do because nobody will trust the network to do timely transaction-confirmations any more, so the value will not rise again. Two month to get the network back in it's feet would be the end of bitcoin IMHO.

bitcoinCodes.com: Get XBox live, PSN and WoW game time codes fast and anonymously
Android RPC client: Bitcoiner
Bitmessage: BM-GtcxVju35PGuD6es9vrF1SXtCVxScbjB
FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
May 30, 2011, 11:16:02 AM
 #4

The problem is that this is not necessarily only theoratical.

If I'd have a big mining cluster that burns a lot of electricity I would implement a safety net that shuts down the miners once the exchange rate drops below a certain amount where mining is not profitable any more. This could very well start a chain reaction because many people might panic-sell if large chunks of hashing power suddenly vanish. "Transactions are not getting confirmed any more, need to sell fast while it still works". This would drive the price down and auto-shutdown even more mining-rigs.

I think recovering from such an outage is not easy to do because nobody will trust the network to do timely transaction-confirmations any more, so the value will not rise again. Two month to get the network back in it's feet would be the end of bitcoin IMHO.

Everyone has different costs, there is no reason to think that a large chunk of miners will quit in unison. When a small amount do quit then difficulty will drop and some will come back or others will not quit.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
Dobrodav (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
May 30, 2011, 11:31:06 AM
Last edit: May 30, 2011, 11:54:33 AM by Dobrodav
 #5

Everyone has different costs, there is no reason to think that a large chunk of miners will quit in unison. When a small amount do quit then difficulty will drop and some will come back or others will not quit.

There we talk about some hypothetic, and unlikely to happen situation, but we should take in consideration that this is possible.
I am  do not want to speculate on that situation details, but if you insist ...

1) Larger countries just shutdown internet. Now we are relaying on miners of other countries.
2) Larger countries found a way to block bitcoin related traffic - same as 1)
3) Extremal drop of change course. (much more possible scenario)
4) Something else always possible.

As another failsafe mechanism - difficulty  starts to change, if block was not found in 1-3 hours.

Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
May 31, 2011, 02:32:59 AM
 #6

Lets imagine that in one point, we will suffer from sudden lost of interest in bitcoin,
due to legalization problems, or due to some other factors.

Computation power of the network will be suddenly changed,
but difficulty will stay the same for long time (max 2016 blocks).

In result, we will have situation when, possibly even one block, will not be solved in a day,
and therefore - extremely slow transactions confirmation.

How to handle that situation ?
Is there any precaution ?

If not, maybe one should be implemented?

Like, as example this ones, -
Change of difficulty every 12 hours, or 72 blocks.
Difficulty  starts to change, if no block was found in 1-3 hours. (Added)

Please comment.

I completely disagree with implementing such a system. In fact, if such a situation occurred, we should be WARNING THE USER. Why? Because this most likely means that the network has been segmented. The last thing we want to do is increase the speed of block creation on a segmented network.

If this happened as a result of a sudden loss of interest, as you supposed, then we'd just have to put out a new client. Under no circumstance should this be built in to the client.

TiagoTiago
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Firstbits.com/1fg4i :)


View Profile
May 31, 2011, 03:08:13 AM
 #7

It would be interesting to have a proggie that attempts to simulate the behavior of miners faster than realtime to, among other things, try to see how bad things could get if a large chunk of the processing power suddenly went away with the way the system is currently set (obviously comparing the simulated behavior with how things happened in the past would be a great way to get an idea how close the proggie is to reality)

(I dont always get new reply notifications, pls send a pm when you think it has happened)

Wanna gimme some BTC/BCH for any or no reason? 1FmvtS66LFh6ycrXDwKRQTexGJw4UWiqDX Smiley

The more you believe in Bitcoin, and the more you show you do to other people, the faster the real value will soar!

Do you like mmmBananas?!
Dobrodav (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
May 31, 2011, 07:14:03 AM
 #8

Consensus - That situation should be handed manually.
Some preparations should be made - (patched version of client).

Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
May 31, 2011, 11:21:45 AM
 #9

A problem with dropping difficulty at a certain time is that defining an exact nanosecond worldwide is a tough business...
and if you would drop difficulty at a certain block, you would still have to mine that block which in the worst case still takes too long to do.

Anyways, if you see a sudden drop of more than 99,999% in hashing rate this much more likely means your government has pulled the plug on the internet (--> like Iran plans to do currently) and you're in an isolated network off the global grid.

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
May 31, 2011, 07:05:50 PM
 #10

A problem with dropping difficulty at a certain time is that defining an exact nanosecond worldwide is a tough business...
and if you would drop difficulty at a certain block, you would still have to mine that block which in the worst case still takes too long to do.
Not really. It could be activated just by receiving a special transaction signed by the current lead developer.

That said, the last thing we should do is prepare for this. The longer we're forced to think this over, the better.

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!