Bitcoin Forum
May 03, 2024, 06:39:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Changing the re-targeting rules with a soft fork  (Read 821 times)
TierNolan (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
July 20, 2013, 06:52:27 PM
 #1

At first thoughts, this would be impossible.  However, the rule for a soft fork is that a majority of the hashing power must accept the more restrictive rules.  Increasing the difficulty is a more restrictive rule, so it could be a hard fork.

In this case, the difficulty itself is what is being modified.  This makes it slightly more complex than the 51% rule.

Doubling difficulty

If the new rule was that difficulty was doubled, then the threshold for acceptance is 2/3 of the mining power.

If 75% of the miners agreed with the doubled difficulty, then the high difficulty fork will have an effective hash rate of 37.5% (since by definition, they have to throw away 50% of their blocks).

The standard difficulty fork would have a hash rate of 25%, so the high difficulty fork would increase faster, even though it is higher difficulty.

Miners who are producing blocks for the high difficulty fork wouldn't be able to use them on the low difficulty fork, since the previous hash pointers wouldn't match.

When retargets happen, they will be based on the higher difficulty, so it would still be one block per 10 mins.  This means that it doesn't actually double difficulty (except for 1 retarget period).

Variable difficulty

Many alt coins retarget after each block.  This protects the network against sudden loss of mining power.

An alt coin effectively pays (mint fee) / (difficulty) per hash to miners.  This means that modifying the difficulty changes how much the network is paying for hashes.

For the main network, this is not that big a deal, since the bitcoin network if the primary source of demand.  If difficulty goes up, then market price falls, since the main network "buys" most the hashing anyway.

Alt coins, on the other hand, operate in a competitive hash environment.  The difficulty of an alt coin has no influence on the market price for hashing power.

If an alt chain is paying 120% of market price for hashing, it will get lots of miners.  If the retarget causes the difficulty to jump up by 4, then suddenly, it is paying 30% of market price for hashing.  This causes many miners to leave.

If the difficulty is adjusted by 1% per block, then the difficulty will drop more slowly, 120%, 119% ... 101%, 100%, 99%.  Some miners will leave when it hits 99%, but there is less likelihood of a mass exodus.  When they leave, the difficulty will drop for the next block and the network will pay more coin per hash.  This keeps the alt coin's payments per hash at around market price.

Implementing this for bitcoin could be implemented as a soft fork.  There wouldn't be full flexibility.  The difficulty would have to be restricted to greater than the standard difficulty.  However, subject to that, it could float up and down.

If more than 80% of the miners agreed the range could be 1.0X to 4.0X.  This might be a better target, since 4X is the maximum change in the difficulty.

This makes it possible to separate old clients from the network with only 20% of the hashing power, so it introduces a different vulnerability.  However, once implemented, newer clients would be coded to accept the new hashing difficulty rules after block N.

There could also be an "exit" clause, which checks if an alternative chain is growing faster and drops difficulty.  This may lead to other vulnerabilities.

This change would protect the bitcoin network against "hyper-transfer". 

In a competitive world, you can't drop you price in 4X steps and hope for the best.  99% of market price might get you 90% as much hashing as 101%, but 30% will get you almost nothing.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
1714718388
Hero Member
*
Offline Offline

Posts: 1714718388

View Profile Personal Message (Offline)

Ignore
1714718388
Reply with quote  #2

1714718388
Report to moderator
1714718388
Hero Member
*
Offline Offline

Posts: 1714718388

View Profile Personal Message (Offline)

Ignore
1714718388
Reply with quote  #2

1714718388
Report to moderator
1714718388
Hero Member
*
Offline Offline

Posts: 1714718388

View Profile Personal Message (Offline)

Ignore
1714718388
Reply with quote  #2

1714718388
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714718388
Hero Member
*
Offline Offline

Posts: 1714718388

View Profile Personal Message (Offline)

Ignore
1714718388
Reply with quote  #2

1714718388
Report to moderator
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1093


View Profile
July 21, 2013, 04:07:39 AM
 #2

I proposed something related but got moved to alt-coin section: https://bitcointalk.org/index.php?topic=257135.msg2739332#msg2739332

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
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!