News for hackers. Stuff that matters.
Re:Blockchains from a Distributed Computing Perspective [pdf] by DennisP on Saturday January 20, 2018 @01:09PM (#16194492)
There's a fundamental difference: a rollback reverses everybody's transactions, the DAO fork left unrelated transactions alone.

Bitcoin had an actual five-hour rollback in its early days, when someone figured out an exploit and awarded themselves over a billion coins.

Re:Blockchains from a Distributed Computing Perspective [pdf] by codehalo on Sunday January 21, 2018 @11:45AM (#16198679)
That’s incorrect. There was never a rollback in Bitcoin. You may be referring to the leveldb bug that caused a fork, or Gavin and Satoshi’s discovery of the billion coins bug, which was fixed by a software update, but none of these involved a rollback.
Re:Blockchains from a Distributed Computing Perspective [pdf] by DennisP on Sunday January 21, 2018 @08:10PM (#16201132)
I was thinking of the billion coins bug. I did some searching and it appears you're mostly correct; the errant transaction was removed, along with subsequent transactions that descended from it, but unrelated transactions were left in place.

https://bitcointalk.org/index.php?topic=823.msg9557

Re:Blockchains from a Distributed Computing Perspective [pdf] by mannykannot on Saturday January 20, 2018 @02:21PM (#16194912)
A rollback followed by a replay of desired transactions is still a rollback. This is how you can tell if an attempt to refute-by-redefinition is denial: first determine why it would be unfortunate if the predicate being refuted were true, and then ask if the redefinition actually fixes the problem.
Re:Blockchains from a Distributed Computing Perspective [pdf] by DennisP on Sunday January 21, 2018 @08:06AM (#16197907)
Ethereum didn't have to replay transactions, because there was no rollback at all; it was an isolated change to the data in one contract. Ethereum doesn't work the way Bitcoin does.
Re:Blockchains from a Distributed Computing Perspective [pdf] by mannykannot on Sunday January 21, 2018 @09:48AM (#16198220)
Here we have another distinction without a relevant difference. A rollback is defined by its consequences, not the details of its process.
Re:Blockchains from a Distributed Computing Perspective [pdf] by DennisP on Sunday January 21, 2018 @09:55AM (#16198242)
If you want to redefine "rollback" as "any fork that changes a blockchain's data" then ok, but that seems like a misleading definition to me. Normally a rollback means "all transactions are rolled back," which has entirely different consequences. In Ethereum's case, the data afterwards is different even from a rollback/reapply, since the theft is still in the transaction history.

In any case it seems fairly useless to debate what the meaning of "rollback" should be.

Re:Blockchains from a Distributed Computing Perspective [pdf] by mannykannot on Sunday January 21, 2018 @02:43PM (#16199588)
The meaning of rollback transcends and precedes blockchains, and it use here is in that sense.
Re:Blockchains from a Distributed Computing Perspective [pdf] by DennisP on Sunday January 21, 2018 @06:21PM (#16200699)
If you're using the original definition from SQL, the DAO event still doesn't qualify. A SQL transaction rollback removes the transaction from the log, while the DAO theft transaction is still on chain. What Ethereum did was an additional update transaction.
Re:Blockchains from a Distributed Computing Perspective [pdf] by mannykannot on Monday January 22, 2018 @08:57AM (#16204321)
The original post is clearly referring to the general engineering usage of rollback, as seen, for example, in source code control systems. As I pointed out before, 'rollback' is defined by its effects, not the mechanism by which it is performed, to which I might add that it is even less defined by mechanisms that are specific to a particular implementation.

If the existence of a record of the rolled-back transaction made a difference to whether an action is a rollback or not, then, by your argument, it would seem that the existence, or not, of a backup (or any other record) preserving the prior state of the system, would make the difference as to whether an SQL rollback was or was not actually a rollback. This, of course, is absurd, but its what you get from mistaking an implementation for a definition.

> In any case it seems fairly useless to debate what the meaning of "rollback" should be.

That was the point of my first post in this thread (with special reference to self-serving definitions.)