Research/Bitcoin Dev Archive / SegWit2x list
Addressing Segwit's anyone-can-spend "issue" with the hard fork?
23 messages, Jul 10 to 11, 2017. Started by Oliver Petruzel.
Oliver Petruzel (4), Jameson Lopp (4), Tom Zander (4), Adam Back (2), CryptAxe (2), Jared Lee Richardson, Peter Todd, Christopher R. Halbersma, +4 more
ALCON, I'm not privy to discussions occurring in Slack or elsewhere, so I think this list may be the most appropriate medium for the following question:
Has any thought been given to addressing/fixing Segwit's anyone-can-spend issue at the time of the SegWit2x hardfork?
I'm not entirely familiar with the exact mechanisms of the code that create the conditions for this issue, but it's been said by many that the issue is a byproduct of the softfork implementation, and that it could be resolved if SegWit were implemented as a hardfork instead.
Is that true? Is it possible to rework the SegWit code such that the anyone-can-spend issue is permanently resolved with the SegWit2x hardfork?
I think doing so would go a very long way in garnering additional support throughout the dev and user communities, so it's worth considering.
Thoughts?
V/r, Oliver Petruzel Owner, Procryptic Inc.
"anyone-can-spend" is not actually an issue. By the time SegWit2X's hard fork activates, there will be 3 months of proof of work accumulated on top of SegWit activation; it would be economically infeasible for miners to reorganize the chain to deactivate SegWit at that point.
On Mon, Jul 10, 2017 at 1:50 PM, Oliver Petruzel via Bitcoin-segwit2x < bitcoin-segwit2x at lists.linuxfoundation.org> wrote:
Quoted text (30 lines)
> ALCON, > I'm not privy to discussions occurring in Slack or elsewhere, so I think > this list may be the most appropriate medium for the following question: > > Has any thought been given to addressing/fixing Segwit's anyone-can-spend > issue at the time of the SegWit2x hardfork? > > I'm not entirely familiar with the exact mechanisms of the code that > create the conditions for this issue, but it's been said by many that the > issue is a byproduct of the softfork implementation, and that it could be > resolved if SegWit were implemented as a hardfork instead. > > Is that true? Is it possible to rework the SegWit code such that the > anyone-can-spend issue is permanently resolved with the SegWit2x hardfork? > > I think doing so would go a very long way in garnering additional support > throughout the dev and user communities, so it's worth considering. > > Thoughts? > > V/r, > Oliver Petruzel > Owner, Procryptic Inc. > > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x > >
There's a couple of FAQ entries explaining how soft-forks work wrt to the confusion about anyone-can-spend. https://segwit.org/faq/home
Apparently there's an (unclaimed) $2m bounty on litecoin for anyone who believes they can spend segwit outputs without keys.
Adam
On Mon, Jul 10, 2017 at 7:35 PM, Jameson Lopp via Bitcoin-segwit2x <bitcoin-segwit2x at lists.linuxfoundation.org> wrote:
Quoted text (44 lines)
> "anyone-can-spend" is not actually an issue. By the time SegWit2X's hard > fork activates, there will be 3 months of proof of work accumulated on top > of SegWit activation; it would be economically infeasible for miners to > reorganize the chain to deactivate SegWit at that point. > > On Mon, Jul 10, 2017 at 1:50 PM, Oliver Petruzel via Bitcoin-segwit2x > <bitcoin-segwit2x at lists.linuxfoundation.org> wrote: >> >> ALCON, >> I'm not privy to discussions occurring in Slack or elsewhere, so I think >> this list may be the most appropriate medium for the following question: >> >> Has any thought been given to addressing/fixing Segwit's anyone-can-spend >> issue at the time of the SegWit2x hardfork? >> >> I'm not entirely familiar with the exact mechanisms of the code that >> create the conditions for this issue, but it's been said by many that the >> issue is a byproduct of the softfork implementation, and that it could be >> resolved if SegWit were implemented as a hardfork instead. >> >> Is that true? Is it possible to rework the SegWit code such that the >> anyone-can-spend issue is permanently resolved with the SegWit2x hardfork? >> >> I think doing so would go a very long way in garnering additional support >> throughout the dev and user communities, so it's worth considering. >> >> Thoughts? >> >> V/r, >> Oliver Petruzel >> Owner, Procryptic Inc. >> >> _______________________________________________ >> Bitcoin-segwit2x mailing list >> Bitcoin-segwit2x at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/segwit2x >> > > > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x >
Here is the ~2M bounty right here: http://explorer.litecoin.net/address/3MidrAnQ9w1YK6pBqMv7cw5bGLDvPRznph
In the same way that I consider the millions of untouched early mined bitcoins (possibly generated by Satoshi) to be a bounty for QC and other potential but unlikely attacks you can consider these 40,000 litecoin to be a bounty to actually spend a segwit output without the key. Nobody has stolen them which shows either extreme restraint on the part of blackhats turning down a huge reward (unlikely) or it demonstrates in an objective way that the outputs are not able to be spent-by-anyone. There's no better way to test it than testing it live with real money, and it's survived that test.
On 07/10/2017 11:42 AM, Dr Adam Back via Bitcoin-segwit2x wrote:
Quoted text (56 lines)
> There's a couple of FAQ entries explaining how soft-forks work wrt to > the confusion about anyone-can-spend. https://segwit.org/faq/home > > Apparently there's an (unclaimed) $2m bounty on litecoin for anyone > who believes they can spend segwit outputs without keys. > > Adam > > On Mon, Jul 10, 2017 at 7:35 PM, Jameson Lopp via Bitcoin-segwit2x > <bitcoin-segwit2x at lists.linuxfoundation.org> wrote: >> "anyone-can-spend" is not actually an issue. By the time SegWit2X's hard >> fork activates, there will be 3 months of proof of work accumulated on top >> of SegWit activation; it would be economically infeasible for miners to >> reorganize the chain to deactivate SegWit at that point. >> >> On Mon, Jul 10, 2017 at 1:50 PM, Oliver Petruzel via Bitcoin-segwit2x >> <bitcoin-segwit2x at lists.linuxfoundation.org> wrote: >>> ALCON, >>> I'm not privy to discussions occurring in Slack or elsewhere, so I think >>> this list may be the most appropriate medium for the following question: >>> >>> Has any thought been given to addressing/fixing Segwit's anyone-can-spend >>> issue at the time of the SegWit2x hardfork? >>> >>> I'm not entirely familiar with the exact mechanisms of the code that >>> create the conditions for this issue, but it's been said by many that the >>> issue is a byproduct of the softfork implementation, and that it could be >>> resolved if SegWit were implemented as a hardfork instead. >>> >>> Is that true? Is it possible to rework the SegWit code such that the >>> anyone-can-spend issue is permanently resolved with the SegWit2x hardfork? >>> >>> I think doing so would go a very long way in garnering additional support >>> throughout the dev and user communities, so it's worth considering. >>> >>> Thoughts? >>> >>> V/r, >>> Oliver Petruzel >>> Owner, Procryptic Inc. >>> >>> _______________________________________________ >>> Bitcoin-segwit2x mailing list >>> Bitcoin-segwit2x at lists.linuxfoundation.org >>> https://www.learnbitcoin.com/archive/lists/segwit2x >>> >> >> _______________________________________________ >> Bitcoin-segwit2x mailing list >> Bitcoin-segwit2x at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/segwit2x >> > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x
Well we didn't have to do that for BIP16. There are some people that criticized it but obviously we haven't had any P2SH funds stolen.
On 07/10/2017 12:32 PM, Jared Lee Richardson via Bitcoin-segwit2x wrote:
Quoted text (50 lines)
> Jameson Lopp and Dr. Back are correct, the anyone-can-spend isn't > actually a problem, though a minority (but a non-trivial minority) > have convinced themselves that it is a problem. If only because it > would quell the false claims, there might be some value in assigning > segwit transactions a new unrelated type at the hardfork point. It > also might be difficult enough to not be worth doing since the only > reason is appeasing confused protestors. > > I think fixing the witness discount to actually target UTXO creation > vs destruction without favoring bandwidth-heavy transactions would be > a really good addition if anything were going to be changed at > hardfork time. > > Jared > > On Mon, Jul 10, 2017 at 10:50 AM, Oliver Petruzel via Bitcoin-segwit2x > <bitcoin-segwit2x at lists.linuxfoundation.org> wrote: >> ALCON, >> I'm not privy to discussions occurring in Slack or elsewhere, so I think >> this list may be the most appropriate medium for the following question: >> >> Has any thought been given to addressing/fixing Segwit's anyone-can-spend >> issue at the time of the SegWit2x hardfork? >> >> I'm not entirely familiar with the exact mechanisms of the code that create >> the conditions for this issue, but it's been said by many that the issue is >> a byproduct of the softfork implementation, and that it could be resolved if >> SegWit were implemented as a hardfork instead. >> >> Is that true? Is it possible to rework the SegWit code such that the >> anyone-can-spend issue is permanently resolved with the SegWit2x hardfork? >> >> I think doing so would go a very long way in garnering additional support >> throughout the dev and user communities, so it's worth considering. >> >> Thoughts? >> >> V/r, >> Oliver Petruzel >> Owner, Procryptic Inc. >> >> _______________________________________________ >> Bitcoin-segwit2x mailing list >> Bitcoin-segwit2x at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/segwit2x >> > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x
Jameson Lopp and Dr. Back are correct, the anyone-can-spend isn't actually a problem, though a minority (but a non-trivial minority) have convinced themselves that it is a problem. If only because it would quell the false claims, there might be some value in assigning segwit transactions a new unrelated type at the hardfork point. It also might be difficult enough to not be worth doing since the only reason is appeasing confused protestors.
I think fixing the witness discount to actually target UTXO creation vs destruction without favoring bandwidth-heavy transactions would be a really good addition if anything were going to be changed at hardfork time.
Jared
On Mon, Jul 10, 2017 at 10:50 AM, Oliver Petruzel via Bitcoin-segwit2x <bitcoin-segwit2x at lists.linuxfoundation.org> wrote:
Quoted text (29 lines)
> ALCON, > I'm not privy to discussions occurring in Slack or elsewhere, so I think > this list may be the most appropriate medium for the following question: > > Has any thought been given to addressing/fixing Segwit's anyone-can-spend > issue at the time of the SegWit2x hardfork? > > I'm not entirely familiar with the exact mechanisms of the code that create > the conditions for this issue, but it's been said by many that the issue is > a byproduct of the softfork implementation, and that it could be resolved if > SegWit were implemented as a hardfork instead. > > Is that true? Is it possible to rework the SegWit code such that the > anyone-can-spend issue is permanently resolved with the SegWit2x hardfork? > > I think doing so would go a very long way in garnering additional support > throughout the dev and user communities, so it's worth considering. > > Thoughts? > > V/r, > Oliver Petruzel > Owner, Procryptic Inc. > > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x >
On Mon, Jul 10, 2017 at 01:50:20PM -0400, Oliver Petruzel via Bitcoin-segwit2x wrote:
Quoted text (6 lines)
> ALCON, > I'm not privy to discussions occurring in Slack or elsewhere, so I think > this list may be the most appropriate medium for the following question: > > Has any thought been given to addressing/fixing Segwit's anyone-can-spend > issue at the time of the SegWit2x hardfork?
In addition to everyone elses comments, I'll point out that UASF's absolutely eliminate this theoretical problem.
I appreciate all of the feedback! If the consensus is that it's simply not worth the effort given the very low risk factor, then I completely understand.
On a somewhat related note (but not really), has there been any thought given to completely eliminating the MaxBaseBlockSize variable in a similar fashion to Greg's recent PR to Core? Doing so may remove some kludge/confusion from any future softforks that modify/tweak the discount and efficient use of the 8MB blockspace.
(ie. reducing scale factor to 2, thus allowing for 4MB for legacy and non-witness data instead of 2MB, etc)
Greg's PR: https://github.com/bitcoin/bitcoin/pull/10618
Oliver
On Jul 10, 2017 3:40 PM, "Peter Todd" <pete at petertodd.org> wrote:
Quoted text (16 lines)
> On Mon, Jul 10, 2017 at 01:50:20PM -0400, Oliver Petruzel via > Bitcoin-segwit2x wrote: > > ALCON, > > I'm not privy to discussions occurring in Slack or elsewhere, so I think > > this list may be the most appropriate medium for the following question: > > > > Has any thought been given to addressing/fixing Segwit's anyone-can-spend > > issue at the time of the SegWit2x hardfork? > > In addition to everyone elses comments, I'll point out that UASF's > absolutely > eliminate this theoretical problem. > > -- > https://petertodd.org 'peter'[:-1]@petertodd.org >
It's not a risk factor, it's just a FAQ-level misunderstanding about how soft-forks work. Soft-forks are deployed on economic nodes first, activation via flag-day, UASF or MASF is the final step. A mined block that is invalid according to a locked in soft-fork, is just an invalid block. Invalid blocks get mined from time-to-time and are mostly unnoticed and largely not even relayed. It's not the longest chain, it's the most work valid-chain.
Adam
On Mon, Jul 10, 2017 at 9:06 PM, Oliver Petruzel via Bitcoin-segwit2x <bitcoin-segwit2x at lists.linuxfoundation.org> wrote:
Quoted text (43 lines)
> I appreciate all of the feedback! If the consensus is that it's simply not > worth the effort given the very low risk factor, then I completely > understand. > > On a somewhat related note (but not really), has there been any thought > given to completely eliminating the MaxBaseBlockSize variable in a similar > fashion to Greg's recent PR to Core? Doing so may remove some > kludge/confusion from any future softforks that modify/tweak the discount > and efficient use of the 8MB blockspace. > > (ie. reducing scale factor to 2, thus allowing for 4MB for legacy and > non-witness data instead of 2MB, etc) > > Greg's PR: > https://github.com/bitcoin/bitcoin/pull/10618 > > Oliver > > On Jul 10, 2017 3:40 PM, "Peter Todd" <pete at petertodd.org> wrote: >> >> On Mon, Jul 10, 2017 at 01:50:20PM -0400, Oliver Petruzel via >> Bitcoin-segwit2x wrote: >> > ALCON, >> > I'm not privy to discussions occurring in Slack or elsewhere, so I think >> > this list may be the most appropriate medium for the following question: >> > >> > Has any thought been given to addressing/fixing Segwit's >> > anyone-can-spend >> > issue at the time of the SegWit2x hardfork? >> >> In addition to everyone elses comments, I'll point out that UASF's >> absolutely >> eliminate this theoretical problem. >> >> -- >> https://petertodd.org 'peter'[:-1]@petertodd.org > > > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x >
On Mon, 2017-07-10 at 14:35 -0400, Jameson Lopp via Bitcoin-segwit2x wrote:
Quoted text (6 lines)
> "anyone-can-spend" is not actually an issue. By the time SegWit2X's > hard fork activates, there will be 3 months of proof of work > accumulated on top of SegWit activation; it would be economically > infeasible for miners to reorganize the chain to deactivate SegWit at > that point. >
I think the worry is not that someone will mine separate chain from history to re-org the main chain, but instead that sometime in the future it will become common place to discard the witness data for transactions over x period of time old. If, for example, 90% of the network discards witness data 7 years old. Unspent 7 year old transactions could be spent by a malicious miner and only fork off 10% of the network.
CRH
On Mon, Jul 10, 2017 at 5:34 PM, Christopher R. Halbersma < chris at halbersma.us> wrote:
Quoted text (18 lines)
> On Mon, 2017-07-10 at 14:35 -0400, Jameson Lopp via Bitcoin-segwit2x > wrote: > > "anyone-can-spend" is not actually an issue. By the time SegWit2X's > > hard fork activates, there will be 3 months of proof of work > > accumulated on top of SegWit activation; it would be economically > > infeasible for miners to reorganize the chain to deactivate SegWit at > > that point. > > > > I think the worry is not that someone will mine separate chain from > history to re-org the main chain, but instead that sometime in the > future it will become common place to discard the witness data for > transactions over x period of time old. If, for example, 90% of the > network discards witness data 7 years old. Unspent 7 year old > transactions could be spent by a malicious miner and only fork off 10% > of the network. > > That's not how SegWit works. The witness data is added to a transaction
/at the time of spending/ UTXOs. New transactions aren't seeking out witness data stored historically in the blockchain at the time of their creation and validation.
Quoted text (1 line)
> CRH
On Jul 10, 2017 5:34 PM, "Christopher R. Halbersma via Bitcoin-segwit2x" < bitcoin-segwit2x at lists.linuxfoundation.org> wrote:
I think the worry is not that someone will mine separate chain from history to re-org the main chain, but instead that sometime in the future it will become common place to discard the witness data for transactions over x period of time old. If, for example, 90% of the network discards witness data 7 years old. Unspent 7 year old transactions could be spent by a malicious miner and only fork off 10% of the network.
It makes no difference how old the witness data is that's pruned, it doesn't suddenly mean that you no longer need to sign the transaction. Trying to steal 7 year old coins would be just as invalid as trying to steal 7 hour old coins. The only way it could go back to anyonecanspend is with a reorg.
On Monday, 10 July 2017 20:35:25 CEST Jameson Lopp via Bitcoin-segwit2x wrote:
Quoted text (4 lines)
> "anyone-can-spend" is not actually an issue. By the time SegWit2X's hard > fork activates, there will be 3 months of proof of work accumulated on top > of SegWit activation; it would be economically infeasible for miners to > reorganize the chain to deactivate SegWit at that point.
Your answer focuses only on the technical, and that is not enough in the context of Bitcoin.
Bitcoin is also economical and social. And those make an even bigger difference in such questions.
The scenario is not about rolling back blocks, the scenario is weather a soft fork activation should be taken seriously by the network. They can skip mining of SW transactions. The network participants can skip relaying of witness data. The network particiapnts can spend those everyone-can-spend (or allow others to).
In other words, the question is not who will roll-back 3 months, the question is which network participants will actually hold the network to the promise of SegWit rules. Remember, clients that are not btc1 will not do any checking at all. To them these SW txs are in actual fact anyone-can-spend.
Economically there is a large incentive for the network to cheat and direct segwit locked funds to charities or even themselves. But socially this may be a bigger issue. And social rejection of a chain will have economic implications.
The basic fact that many overlook is that SegWIt is a highly contentious soft fork. There is a huge group of people that would support a chain without SegWit, and as such the economic downsides of the network not honouring the social contract that is Segregated Witness will have a much lower impact.
As an end user I suggest waiting several months before sending a single SegWit transaction, lest you lose the content.
I don't understand this argument. SegWit requires miners to commit to it in order to even activate. Once activated, ignoring the newly established rules is no longer an option for miners as that would constitute a hard fork. This is purely technical.
On 11 July 2017 at 13:17, Tom Zander via Bitcoin-segwit2x < bitcoin-segwit2x at lists.linuxfoundation.org> wrote:
Quoted text (51 lines)
> On Monday, 10 July 2017 20:35:25 CEST Jameson Lopp via Bitcoin-segwit2x > wrote: > > "anyone-can-spend" is not actually an issue. By the time SegWit2X's hard > > fork activates, there will be 3 months of proof of work accumulated on > top > > of SegWit activation; it would be economically infeasible for miners to > > reorganize the chain to deactivate SegWit at that point. > > > Your answer focuses only on the technical, and that is not enough in the > context of Bitcoin. > > Bitcoin is also economical and social. And those make an even bigger > difference in such questions. > > The scenario is not about rolling back blocks, the scenario is weather a > soft fork activation should be taken seriously by the network. They can > skip > mining of SW transactions. The network participants can skip relaying of > witness data. The network particiapnts can spend those everyone-can-spend > (or allow others to). > > In other words, the question is not who will roll-back 3 months, the > question is which network participants will actually hold the network to > the > promise of SegWit rules. Remember, clients that are not btc1 will not do > any > checking at all. To them these SW txs are in actual fact anyone-can-spend. > > Economically there is a large incentive for the network to cheat and direct > segwit locked funds to charities or even themselves. But socially this may > be a bigger issue. And social rejection of a chain will have economic > implications. > > The basic fact that many overlook is that SegWIt is a highly contentious > soft fork. There is a huge group of people that would support a chain > without SegWit, and as such the economic downsides of the network not > honouring the social contract that is Segregated Witness will have a much > lower impact. > > As an end user I suggest waiting several months before sending a single > SegWit transaction, lest you lose the content. > -- > Tom Zander > Blog: https://zander.github.io > Vlog: https://vimeo.com/channels/tomscryptochannel > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x >
Tom's correct that nodes and miners /could/ do those things, though the same could be said for P2SH (except for witness relaying of course.) Miners and users are always free to attempt to cheat and break the rules; we're all watching each other and it's unlikely to end well for cheaters. ☺
On Tue, Jul 11, 2017 at 11:17 AM, Marcel Jamin via Bitcoin-segwit2x < bitcoin-segwit2x at lists.linuxfoundation.org> wrote:
Quoted text (68 lines)
> I don't understand this argument. SegWit requires miners to commit to it > in order to even activate. Once activated, ignoring the newly established > rules is no longer an option for miners as that would constitute a hard > fork. This is purely technical. > > On 11 July 2017 at 13:17, Tom Zander via Bitcoin-segwit2x < > bitcoin-segwit2x at lists.linuxfoundation.org> wrote: > >> On Monday, 10 July 2017 20:35:25 CEST Jameson Lopp via Bitcoin-segwit2x >> wrote: >> > "anyone-can-spend" is not actually an issue. By the time SegWit2X's hard >> > fork activates, there will be 3 months of proof of work accumulated on >> top >> > of SegWit activation; it would be economically infeasible for miners to >> > reorganize the chain to deactivate SegWit at that point. >> >> >> Your answer focuses only on the technical, and that is not enough in the >> context of Bitcoin. >> >> Bitcoin is also economical and social. And those make an even bigger >> difference in such questions. >> >> The scenario is not about rolling back blocks, the scenario is weather a >> soft fork activation should be taken seriously by the network. They can >> skip >> mining of SW transactions. The network participants can skip relaying of >> witness data. The network particiapnts can spend those everyone-can-spend >> (or allow others to). >> >> In other words, the question is not who will roll-back 3 months, the >> question is which network participants will actually hold the network to >> the >> promise of SegWit rules. Remember, clients that are not btc1 will not do >> any >> checking at all. To them these SW txs are in actual fact anyone-can-spend. >> >> Economically there is a large incentive for the network to cheat and >> direct >> segwit locked funds to charities or even themselves. But socially this may >> be a bigger issue. And social rejection of a chain will have economic >> implications. >> >> The basic fact that many overlook is that SegWIt is a highly contentious >> soft fork. There is a huge group of people that would support a chain >> without SegWit, and as such the economic downsides of the network not >> honouring the social contract that is Segregated Witness will have a much >> lower impact. >> >> As an end user I suggest waiting several months before sending a single >> SegWit transaction, lest you lose the content. >> -- >> Tom Zander >> Blog: https://zander.github.io >> Vlog: https://vimeo.com/channels/tomscryptochannel >> _______________________________________________ >> Bitcoin-segwit2x mailing list >> Bitcoin-segwit2x at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/segwit2x >> > > > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x > >
On Tuesday, 11 July 2017 17:17:53 CEST Marcel Jamin wrote:
Quoted text (3 lines)
> I don't understand this argument. SegWit requires miners to commit to it > in order to even activate. Once activated, ignoring the newly established > rules is no longer an option for miners
Don’t dismiss it so readily, just because that is how todays software works does not mean that is what the software in month will look like.
Bitcoin is a social money, moreso than any other.
You will miss the real implications if you focus only on the technical parts and assume that technical rules will override social opportunities.
Btw. I wasn’t talking just about miners, I was talking about the entire network. See my previous email.
On Tue, Jul 11, 2017 at 11:29 AM, Tom Zander via Bitcoin-segwit2x < bitcoin-segwit2x at lists.linuxfoundation.org> wrote:
Quoted text (11 lines)
> On Tuesday, 11 July 2017 17:17:53 CEST Marcel Jamin wrote: > > I don't understand this argument. SegWit requires miners to commit to it > > in order to even activate. Once activated, ignoring the newly established > > rules is no longer an option for miners > > Don’t dismiss it so readily, just because that is how todays software works > does not mean that is what the software in month will look like. > > Bitcoin is a social money, moreso than any other. > >
Yes, it's social, but in order for tomorrow's software to work differently than today's software, you'll need to convince people to run it. That's a crucial social aspect. I suspect it will be quite difficult to convince a large portion of the network to accept changes that support theft.
Quoted text (15 lines)
> You will miss the real implications if you focus only on the technical > parts > and assume that technical rules will override social opportunities. > > Btw. I wasn’t talking just about miners, I was talking about the entire > network. See my previous email. > -- > Tom Zander > Blog: https://zander.github.io > Vlog: https://vimeo.com/channels/tomscryptochannel > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x >
On Tuesday, 11 July 2017 17:36:52 CEST Jameson Lopp wrote:
Quoted text (3 lines)
> you'll need to convince people to run it. That's a > crucial social aspect. I suspect it will be quite difficult to convince a > large portion of the network to accept changes that support theft.
Sorry if I didn’t make this clear enough, you only need to convince people that run the softfork software **with** the activation sequence used.
The entire reason SegWit was written as a soft fork was to enable that behaviour that way. The natural consequence is that most people will not be validating SegWit rules.
Quoted text (1 line)
>The natural consequence is that most people will not be validating SegWit
rules.
That prediction conflicts with the fact that ~88% of all full listening nodes are running Core, and the vast majority of those are running SegWit-compatible versions of Core. If you include non-listening full nodes, that percentage jumps to something closer to 95%.
100% of the future SegWit2x nodes will obviously validate SegWit rules, as well.
Given these facts, on what basis are you making that prediction? Or, perhaps I misunderstood what you wrote?
Oliver
On Tuesday, 11 July 2017 18:43:20 CEST Oliver Petruzel wrote:
Quoted text (2 lines)
> That prediction conflicts with the fact that ~88% of all full listening > nodes are running Core,
A number trivial to sybill. And we have seen this many times. Start one node, start 2000 proxies, each on their own IP address and you have 2000 “nodes” according to network stats.
Quoted text (2 lines)
> and the vast majority of those are running > SegWit-compatible versions of Core.
Those segwit nodes will not activate until 95% of the blocks have bit 1 set, I’m not entirely up to date on the activation method that the NY-Consensus Consus ended up doing. The original did NOT include activating those core nodes. This may have changed.
Quoted text (2 lines)
> If you include non-listening full > nodes, that percentage jumps to something closer to 95%.
And this is just wrong, SPV wallet for the most part do not validate segwit. This section is also the vast majority of the network. Other “non-listening” nodes are for a large section non-core as well, but here we get into speculation very quickly. The SPV wallets are by far the most important here, though. Thats where your value lives.
This all distracts from the actual core point.
SegWit is a very contentious soft fork. It is by *far* the slowest to get adoption among any other proposals made in the history of Bitcoin. Accepting it on the network and supporting and validating it are two very different things. Economically there is value to reject SegWit, socially there is a lot of reasons to do so as well, adding to the economics of the situation.
Bottom line is that any protocol upgrade in Bitcoin will have the possibility to get rejected without widespread approval. And people that somehow think a softfork is immume to that are missing the social aspects of Bitcoin.
I think you need a reality check:
http://luke.dashjr.org/programs/bitcoin/files/charts/software.html
Luke's data collection method isn't perfect. However, his graph and list are a fairly decent estimate of all (reachable) listening and non-listening full nodes in the system.
SegWit actually has super-majority support throughout the entire user, developer, and business communities. The only sizable segment that has ever shown a lack of support for SegWit is the mining community; but, thankfully, the NYA has effectively reconciled that situation (if every signatory maintains their integrity).
Most major wallet services and apps -- the SPV "nodes" you're referring to -- will be fully SegWit compatible/capable by the end of the year, as well.
I think you may be spending too much time in r/btc if you believe otherwise. You must realize that the anti-segwit fanatics in that sub only represent a VERY tiny, albeit very vocal, minority.
I know you count yourself among that group, but I think that's to your detriment if you honestly still believe that they (you) are a part of any sort of majority.
Sorry for being blunt, but the above had to be said. Please don't conflate the above with support for larger blocks. In that, I believe you (and I) are, in fact, in the majority.
Oliver
On Jul 11, 2017 12:55 PM, "Tom Zander via Bitcoin-segwit2x" < bitcoin-segwit2x at lists.linuxfoundation.org> wrote:
On Tuesday, 11 July 2017 18:43:20 CEST Oliver Petruzel wrote:
Quoted text (2 lines)
> That prediction conflicts with the fact that ~88% of all full listening > nodes are running Core,
A number trivial to sybill. And we have seen this many times. Start one node, start 2000 proxies, each on their own IP address and you have 2000 “nodes” according to network stats.
Quoted text (2 lines)
> and the vast majority of those are running > SegWit-compatible versions of Core.
Those segwit nodes will not activate until 95% of the blocks have bit 1 set, I’m not entirely up to date on the activation method that the NY-Consensus Consus ended up doing. The original did NOT include activating those core nodes. This may have changed.
Quoted text (2 lines)
> If you include non-listening full > nodes, that percentage jumps to something closer to 95%.
And this is just wrong, SPV wallet for the most part do not validate segwit. This section is also the vast majority of the network. Other “non-listening” nodes are for a large section non-core as well, but here we get into speculation very quickly. The SPV wallets are by far the most important here, though. Thats where your value lives.
This all distracts from the actual core point.
SegWit is a very contentious soft fork. It is by *far* the slowest to get adoption among any other proposals made in the history of Bitcoin. Accepting it on the network and supporting and validating it are two very different things. Economically there is value to reject SegWit, socially there is a lot of reasons to do so as well, adding to the economics of the situation.
Bottom line is that any protocol upgrade in Bitcoin will have the possibility to get rejected without widespread approval. And people that somehow think a softfork is immume to that are missing the social aspects of Bitcoin.
On Mon, Jul 10, 2017 at 12:32:47PM -0700, Jared Lee Richardson via Bitcoin-segwit2x wrote:
Quoted text (7 lines)
> Jameson Lopp and Dr. Back are correct, the anyone-can-spend isn't > actually a problem, though a minority (but a non-trivial minority) > have convinced themselves that it is a problem. If only because it > would quell the false claims, there might be some value in assigning > segwit transactions a new unrelated type at the hardfork point. It > also might be difficult enough to not be worth doing since the only > reason is appeasing confused protestors.
It's a huge problem, because it makes the code hard to read, hard to maintain, and hard to talk about, as it looks like someone took something that used to have a high-level object-oriented design and then dumped assembly code in the middle.
This is a disaster waiting to happen:
if (block.vtx[0]->vout[o].scriptPubKey.size() >= 38 && block.vtx[0]->vout[o].scriptPubKey[0] == OP_RETURN && block.vtx[0]->vout[o].scriptPubKey[1] == 0x24 && block.vtx[0]->vout[o].scriptPubKey[2] == 0xaa && block.vtx[0]->vout[o].scriptPubKey[3] == 0x21 && block.vtx[0]->vout[o].scriptPubKey[4] == 0xa9 && block.vtx[0]->vout[o].scriptPubKey[5] == 0xed) {
commitpos = o;
Really?? And no linewrapping? First, it looks sloppy. Second, it doesn't even show the whole thing on Github
https://github.com/btc1/bitcoin/blob/segwit2x/src/validation.cpp#L2953
If the last half changed in a malicious pull request, we might not even see it.
Doesn't something like this seem a lot easier to read and maintain?
if (tx.nVersion >= 3) {
/* this is a segwit version 3 transaction */
Quoted text (42 lines)
> I think fixing the witness discount to actually target UTXO creation > vs destruction without favoring bandwidth-heavy transactions would be > a really good addition if anything were going to be changed at > hardfork time. > > Jared > > On Mon, Jul 10, 2017 at 10:50 AM, Oliver Petruzel via Bitcoin-segwit2x > <bitcoin-segwit2x at lists.linuxfoundation.org> wrote: > > ALCON, > > I'm not privy to discussions occurring in Slack or elsewhere, so I think > > this list may be the most appropriate medium for the following question: > > > > Has any thought been given to addressing/fixing Segwit's anyone-can-spend > > issue at the time of the SegWit2x hardfork? > > > > I'm not entirely familiar with the exact mechanisms of the code that create > > the conditions for this issue, but it's been said by many that the issue is > > a byproduct of the softfork implementation, and that it could be resolved if > > SegWit were implemented as a hardfork instead. > > > > Is that true? Is it possible to rework the SegWit code such that the > > anyone-can-spend issue is permanently resolved with the SegWit2x hardfork? > > > > I think doing so would go a very long way in garnering additional support > > throughout the dev and user communities, so it's worth considering. > > > > Thoughts? > > > > V/r, > > Oliver Petruzel > > Owner, Procryptic Inc. > > > > _______________________________________________ > > Bitcoin-segwit2x mailing list > > Bitcoin-segwit2x at lists.linuxfoundation.org > > https://www.learnbitcoin.com/archive/lists/segwit2x > > > _______________________________________________ > Bitcoin-segwit2x mailing list > Bitcoin-segwit2x at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/segwit2x
Stylistic issues are a separate concern from consensus code...?
I don't disagree about the style, but it's trivial compared to testing or almost any other concern right now- and this version is already tested, so no reason to muck with it before a major release. Maybe open a housekeeping issue?