News for hackers. Stuff that matters.
Re:Learn Ethereum smart contract programming by maedha on Monday July 24, 2017 @08:19AM (#14837803)
> I mean, not everyone would read the code to see what it really does, so what happens in that case?

This is true with real world contracts too, that's why people hire lawyers - they understand the "code" of contract law.

Re:Learn Ethereum smart contract programming by mannykannot on Monday July 24, 2017 @08:32AM (#14837871)
Except that in real-world contract and criminal law, there are various mechanisms that attempt, with some degree of success, to dissuade fraudulent behavior and allow for some form of restitution. Blockchain currencies, on the other hand, have been promoted partly on the premise that they are free of this sort of governmental interference.
Re:Learn Ethereum smart contract programming by mbrock on Monday July 24, 2017 @09:31AM (#14838262)
Promoters gonna promote. Governments gonna govern.
Re:Learn Ethereum smart contract programming by vincnetas on Monday July 24, 2017 @09:19AM (#14838163)
You can put anything in "real world" contracts (in a 'put words on the paper' sense), but there are things that would be considered illegal if brought to court. In a sense there are reasonable defaults. So if you sign without reading a contract that 'you sell your self as a slave to me' this contract would have no power because slavery is illegal.
Re:Learn Ethereum smart contract programming by nerdponx on Monday July 24, 2017 @08:27AM (#14837842)
But real world contracts are never 100% clear, and can be modified retroactively in court when their terms violate the law, are vague, or are otherwise deemed unenforceable.
Re:Learn Ethereum smart contract programming by throwanem on Monday July 24, 2017 @08:30AM (#14837856)
So can "smart contracts".
Re:Learn Ethereum smart contract programming by mannykannot on Monday July 24, 2017 @08:48AM (#14837955)
Unless the attacker is careless enough to reveal his identity, or puts his ill-gotten gains at risk of being hacked back, or the victims are Ethereum foundation members, your chances of restoration are slim to none.
Re:Learn Ethereum smart contract programming by throwanem on Monday July 24, 2017 @09:14AM (#14838128)
So I'm actually at a disadvantage here, compared to plain old contracts.
Re:Learn Ethereum smart contract programming by nerdponx on Monday July 24, 2017 @09:48AM (#14838397)
Yes. If one party makes a mistake, or does something underhanded/surreptitious, you have no recourse. This exact situation (a bug in the DAO contract leading to a malicious actor stealing from the DAO) led to the recent Ethereum fork: https://news.ycombinator.com/item?id=14819268
Re:Learn Ethereum smart contract programming by dragonwriter on Monday July 24, 2017 @09:52AM (#14838437)
Well, the Ethereun fork itself reveals that there is some recourse.

It may be less attractive recourse than exists with plain contracts for many potential participants, though.

Re:Learn Ethereum smart contract programming by nerdponx on Monday July 24, 2017 @10:09AM (#14838587)
Sort of, but it's also insane. Forking Ethereum because of the DAO hack is a bit like forking the US dollar after the crash of 1929.
Re:Learn Ethereum smart contract programming by throwanem on Monday July 24, 2017 @10:30AM (#14838725)
Which is just my point. It's not that no means of recourse exists outside the contract code; it's that there exists no option between zero and global thermonuclear war. The broad range of subtleties that contract law has developed to answer complex situations, and the option to exercise judgment in those cases not yet captured by precedent, is completely absent in Ethereum, because the people who designed it saw no reason why any such thing should be needed.

Unfortunately, that they failed to see it doesn't mean it isn't so, and now every new conflict among blockchain participants is an exciting new opportunity to reinvent another piece of several hundred years' worth of too hastily discarded prior art.

Re:Learn Ethereum smart contract programming by roywiggins on Monday July 24, 2017 @10:31AM (#14838742)
We did devalue the dollar against the gold standard significantly in 1934. Not entirely unlike a "fork", since it's a declaration that, whoops, your dollars are now worth 40% less gold than you thought.

In 1931 Britain floated the pound, which arguably the US ought to have done too. Suddenly, your paper is no longer convertible to gold at a fixed rate. That's an even more dramatic change than the Ethereum fork.

Re:Learn Ethereum smart contract programming by throwanem on Monday July 24, 2017 @08:29AM (#14837851)
More accurately - judges and lawyers interpret law, contract and otherwise. This sort of interpretation is explicitly ruled out in Ethereum's case, except when enough stakeholders decide it's not.