Thomas Voegtlin [ARCHIVE] on Nostr: š
Original date posted:2017-04-13 š Original message:Disclaimer: I am fully ...
š
Original date posted:2017-04-13
š Original message:Disclaimer: I am fully supportive of Segregated Witness and its
activation by users through BIP148. However, I also believe that a
soft fork would be less risky if it was initially activated by miners,
before the date set in BIP148. This proposal is not intended to
replace UASF, but to mitigate the risks.
The following idea might already have been proposed and discussed
elsewhere. If that is the case, I am sorry for the noise.
Background
==========
BIP9 requires 95% of miner hashrate support in order to activate a
soft-fork. So far, the lack of miner consensus about Segwit has been
frustrating both users and developers. This had led some users to
propose a soft fork activation regardless of the expressed level of
miner support (UASF, BIP148).
There are many risks associated with UASF. If the fork is activated
with less than 50% of the hashing power, the blockchain will have two
competing branches. In addition, if the hashrate on the forking branch
is very low, that branch will be exposed to attacks, where non-empty
blocks are systematically orphaned by adverse miners. This threat may
be a strong deterrent for miners willing to support the fork.
The main argument in favor of UASF is that users, not miners, give its
value to Bitcoin. Therefore, users and markets should have the power
to decide which branch of the fork has the most value, and
profit-driven miners should follow. If the soft-forking branch is
valued more than the non-forking branch, it will end up attracting a
majority of the hashing power, and the non-forking branch will
eventually be orphaned.
Feedback through markets, however, will only work if the forking
branch can effectively be used. If the forking branch is rendered
unusable by adverse miners, there is little chance the new coins will
ever reach markets. To make things worse, profit-driven miners might
adopt a passive attitude and decide to mine on the forking branch only
once a proper price has been set by markets, or only once they see
that it has enough hashing power to be usable. Thus, the lack of
hashrate information prior to the soft fork increases the risk.
On the other hand, if a soft fork was initiated with more than 33% of
the hashing power, then it would probably be viable, because the
remaining two thirds of the hashing power cannot successfully be
allocated to mine blocks on the non-forking branch and to orphan
blocks on the forking branch. Therefore, users will be able to move
coins on the forking branch, and markets will be able to set a price
on these coins, thus creating the feedback needed by profit-driven
miners.
Today about 30% of the hashing power are signaling their intention to
activate Segwit using BIP9. This hashrate is very close to the 33%
threshold, and it would probably be enough to initiate a viable soft
fork; indeed we can expect additional hashing power to be gained from
miners mining on both branches of the fork.
However, nothing suggests that a soft fork triggered with 30% of the
hashrate would be followed by the miners who are currently signaling
Segwit using BIP9. BIP9 signaling means that these miners are willing
to soft fork if support reaches 95%; it does not say anything about
their intentions if support is as low as 30%. In other words, BIP9
signaling does allow miners to properly signal their intentions.
BIP9 signaling
==============
The activation threshold is part of the semantics of BIP9. Miners who
use BIP9 do not only signal their support for a soft fork; they also
signal to other miners that they will activate the soft fork if and
only if support reaches 95%.
Some of these miners might actually be willing to activate a soft fork
with a lower support, even at the cost of creating two chains. Other
miners might not be supportive of that idea, because they consider
that the danger of their blocks being orphaned is too high.
The problem is that this information, at which level of support miners
are willing to initiate a soft fork, is not available. Thus, miners
who are willing to initiate a soft fork at a lower hashrate cannot
coordinate their action.
Proposal: Soft Fork Threshold Signaling
=======================================
Miners signal the threshold at which they are willing to activate a
soft fork. The value of the threshold is published in the coinbase
transaction of the block, with the corresponding version bit.
Miners activate a soft fork if their threshold has been reached over
the last retargeting period. For example, if 504 of 2016 blocks signal
a soft fork with a threshold equal or lower to 25%, then the soft fork
is activated by these miners.
If no activation threshold is reached, the current BIP9 signaling rate
indicator is replaced by a distribution of signaling rates per
threshold. The public availability of threshold information allows
miners to adjust their own threshold, and to optimize their chances of
activating the soft fork.
UASF
====
Even if the soft fork is not activated by miners, this proposal will
reduce the risks associated to a user activated soft fork (UASF). The
public availability of hashrate threshold information prior to the
soft fork will help miners decide whether they should join the fork
right after it has been activated, before price information is
available.
Vulnerabilities
===============
This proposal has similar vulnerabilities as BIP9: it is susceptible
to fake signaling by miners, and to miners withholding hashing power
before the fork.
Published at
2023-06-07 18:00:00Event JSON
{
"id": "e73820920e258d5838f3c550bc229209c72131488066f413d81ad0af8e9e8881",
"pubkey": "7a4ba40070e54012212867182c66beef592603fe7c7284b72ffaafce9da20c05",
"created_at": 1686160800,
"kind": 1,
"tags": [
[
"e",
"9968011d68a4e70eb0ca70a0a52bf4f84362919269ed1a238ced3ca92e72f502",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "š
Original date posted:2017-04-13\nš Original message:Disclaimer: I am fully supportive of Segregated Witness and its\nactivation by users through BIP148. However, I also believe that a\nsoft fork would be less risky if it was initially activated by miners,\nbefore the date set in BIP148. This proposal is not intended to\nreplace UASF, but to mitigate the risks.\n\nThe following idea might already have been proposed and discussed\nelsewhere. If that is the case, I am sorry for the noise.\n\n\nBackground\n==========\n\nBIP9 requires 95% of miner hashrate support in order to activate a\nsoft-fork. So far, the lack of miner consensus about Segwit has been\nfrustrating both users and developers. This had led some users to\npropose a soft fork activation regardless of the expressed level of\nminer support (UASF, BIP148).\n\nThere are many risks associated with UASF. If the fork is activated\nwith less than 50% of the hashing power, the blockchain will have two\ncompeting branches. In addition, if the hashrate on the forking branch\nis very low, that branch will be exposed to attacks, where non-empty\nblocks are systematically orphaned by adverse miners. This threat may\nbe a strong deterrent for miners willing to support the fork.\n\nThe main argument in favor of UASF is that users, not miners, give its\nvalue to Bitcoin. Therefore, users and markets should have the power\nto decide which branch of the fork has the most value, and\nprofit-driven miners should follow. If the soft-forking branch is\nvalued more than the non-forking branch, it will end up attracting a\nmajority of the hashing power, and the non-forking branch will\neventually be orphaned.\n\nFeedback through markets, however, will only work if the forking\nbranch can effectively be used. If the forking branch is rendered\nunusable by adverse miners, there is little chance the new coins will\never reach markets. To make things worse, profit-driven miners might\nadopt a passive attitude and decide to mine on the forking branch only\nonce a proper price has been set by markets, or only once they see\nthat it has enough hashing power to be usable. Thus, the lack of\nhashrate information prior to the soft fork increases the risk.\n\nOn the other hand, if a soft fork was initiated with more than 33% of\nthe hashing power, then it would probably be viable, because the\nremaining two thirds of the hashing power cannot successfully be\nallocated to mine blocks on the non-forking branch and to orphan\nblocks on the forking branch. Therefore, users will be able to move\ncoins on the forking branch, and markets will be able to set a price\non these coins, thus creating the feedback needed by profit-driven\nminers.\n\nToday about 30% of the hashing power are signaling their intention to\nactivate Segwit using BIP9. This hashrate is very close to the 33%\nthreshold, and it would probably be enough to initiate a viable soft\nfork; indeed we can expect additional hashing power to be gained from\nminers mining on both branches of the fork.\n\nHowever, nothing suggests that a soft fork triggered with 30% of the\nhashrate would be followed by the miners who are currently signaling\nSegwit using BIP9. BIP9 signaling means that these miners are willing\nto soft fork if support reaches 95%; it does not say anything about\ntheir intentions if support is as low as 30%. In other words, BIP9\nsignaling does allow miners to properly signal their intentions.\n\n\nBIP9 signaling\n==============\n\nThe activation threshold is part of the semantics of BIP9. Miners who\nuse BIP9 do not only signal their support for a soft fork; they also\nsignal to other miners that they will activate the soft fork if and\nonly if support reaches 95%.\n\nSome of these miners might actually be willing to activate a soft fork\nwith a lower support, even at the cost of creating two chains. Other\nminers might not be supportive of that idea, because they consider\nthat the danger of their blocks being orphaned is too high.\n\nThe problem is that this information, at which level of support miners\nare willing to initiate a soft fork, is not available. Thus, miners\nwho are willing to initiate a soft fork at a lower hashrate cannot\ncoordinate their action.\n\n\nProposal: Soft Fork Threshold Signaling\n=======================================\n\nMiners signal the threshold at which they are willing to activate a\nsoft fork. The value of the threshold is published in the coinbase\ntransaction of the block, with the corresponding version bit.\n\nMiners activate a soft fork if their threshold has been reached over\nthe last retargeting period. For example, if 504 of 2016 blocks signal\na soft fork with a threshold equal or lower to 25%, then the soft fork\nis activated by these miners.\n\nIf no activation threshold is reached, the current BIP9 signaling rate\nindicator is replaced by a distribution of signaling rates per\nthreshold. The public availability of threshold information allows\nminers to adjust their own threshold, and to optimize their chances of\nactivating the soft fork.\n\n\nUASF\n====\n\nEven if the soft fork is not activated by miners, this proposal will\nreduce the risks associated to a user activated soft fork (UASF). The\npublic availability of hashrate threshold information prior to the\nsoft fork will help miners decide whether they should join the fork\nright after it has been activated, before price information is\navailable.\n\n\nVulnerabilities\n===============\n\nThis proposal has similar vulnerabilities as BIP9: it is susceptible\nto fake signaling by miners, and to miners withholding hashing power\nbefore the fork.",
"sig": "54b3fa409e71819b763540a8fb96319571eeed8ea7aff4e8c18fc3459df0079db2d9d28212eb216b9dd59c8d9ba36ae3cd85afab56be04c993334e3e65bb8d1f"
}