<oembed><type>rich</type><version>1.0</version><author_name>npub14vwgt02663pkxx54kg5t693shaavmvnldhsp49sve7asw7p36lkqljyksm</author_name><author_url>https://nostr.ae/npub14vwgt02663pkxx54kg5t693shaavmvnldhsp49sve7asw7p36lkqljyksm</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-12-19&#xA;📝 Original message:After the meeting I find a softfork solution. It is very inefficient and &#xA;I am leaving it here just for record.&#xA;&#xA;1. In the first output of the second transaction of a block, mining pool &#xA;will commit a random nonce with an OP_RETURN.&#xA;&#xA;2. Mine as normal. When a block is found, the hash is concatenated with &#xA;the committed random nonce and hashed.&#xA;&#xA;3. The resulting hash must be smaller than 2 ^ (256 - 1/64) or the block &#xA;is invalid. That means about 1% of blocks are discarded.&#xA;&#xA;4. For each difficulty retarget, the secondary target is decreased by 2 &#xA;^ 1/64.&#xA;&#xA;5. After 546096 blocks or 10 years, the secondary target becomes 2 ^ &#xA;252. Therefore only 1 in 16 hash returned by hasher is really valid. &#xA;This should make the detection of block withholding attack much easier.&#xA;&#xA;All miners have to sacrifice 1% reward for 10 years. Confirmation will &#xA;also be 1% slower than it should be.&#xA;&#xA;If a node (full or SPV) is not updated, it becomes more vulnerable as an &#xA;attacker could mine a chain much faster without following the new rules. &#xA;But this is still a softfork, by definition.&#xA;&#xA;---------------&#xA;&#xA;ok, back to topic. Do you mean this? &#xA;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2012-June/001506.html&#xA;&#xA;&#xA;&#xA;Peter Todd via bitcoin-dev 於 2015-12-19 13:42 寫到:&#xA;&gt; At the recent Scaling Bitcoin conference in Hong Kong we had a chatham&#xA;&gt; house rules workshop session attending by representitives of a super&#xA;&gt; majority of the Bitcoin hashing power.&#xA;&gt; &#xA;&gt; One of the issues raised by the pools present was block withholding&#xA;&gt; attacks, which they said are a real issue for them. In particular, &#xA;&gt; pools&#xA;&gt; are receiving legitimate threats by bad actors threatening to use block&#xA;&gt; withholding attacks against them. Pools offering their services to the&#xA;&gt; general public without anti-privacy Know-Your-Customer have little&#xA;&gt; defense against such attacks, which in turn is a threat to the&#xA;&gt; decentralization of hashing power: without pools only fairly large&#xA;&gt; hashing power installations are profitable as variance is a very real&#xA;&gt; business expense. P2Pool is often brought up as a replacement for &#xA;&gt; pools,&#xA;&gt; but it itself is still relatively vulnerable to block withholding, and&#xA;&gt; in any case has many other vulnerabilities and technical issues that &#xA;&gt; has&#xA;&gt; prevented widespread adoption of P2Pool.&#xA;&gt; &#xA;&gt; Fixing block withholding is relatively simple, but (so far) requires a&#xA;&gt; SPV-visible hardfork. (Luke-Jr&#39;s two-stage target mechanism) We should&#xA;&gt; do this hard-fork in conjunction with any blocksize increase, which &#xA;&gt; will&#xA;&gt; have the desirable side effect of clearly show consent by the entire&#xA;&gt; ecosystem, SPV clients included.&#xA;&gt; &#xA;&gt; &#xA;&gt; Note that Ittay Eyal and Emin Gun Sirer have argued(1) that block&#xA;&gt; witholding attacks are a good thing, as in their model they can be used&#xA;&gt; by small pools against larger pools, disincentivising large pools.&#xA;&gt; However this argument is academic and not applicable to the real world,&#xA;&gt; as a much simpler defense against block withholding attacks is to use&#xA;&gt; anti-privacy KYC and the legal system combined with the variety of&#xA;&gt; withholding detection mechanisms only practical for large pools.&#xA;&gt; Equally, large hashing power installations - a dangerous thing for&#xA;&gt; decentralization - have no block withholding attack vulnerabilities.&#xA;&gt; &#xA;&gt; 1) http://hackingdistributed.com/2014/12/03/the-miners-dilemma/&#xA;&gt; &#xA;&gt; _______________________________________________&#xA;&gt; bitcoin-dev mailing list&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</html></oembed>