2 ms·
> Manipulating a program or abusing it for your personal gains at the expense of others is often illegal. Here's the challenge, though: it is impossible to def
by teawrecks 5y ago
> Manipulating a program or abusing it for your personal gains at the expense of others is often illegal.
Here's the challenge, though: it is impossible to definitively say whether the functionality of a program is intended behavior or not. For a classical server that gets "hacked", the code is running on a server that someone owns and access to that server is defined by the owner. Similarly, the maintainer of the code decides whether the behavior of the code was intentional or not.
On a blockchain, there is no single server, the code is being executed on many machines. And you can't trust any individual, the author of the contract got their chance to clearly describe the intention of the code when they wrote it. There is literally no way to determine whether the contract was used as intended, or exploited. You can't go ask the author because they can just lie. The code is all you have.
But that doesn't mean "code is law". Consensus is law. The blockchain can be forked, the transaction reversed, and the contract amended.
> in the real world, code isn't law.
That hardly matters here.
- NovemberWhiskey 5y ago>Consensus is law No; the law is the law. What exactly do you intend the content of the statement 'consensus is law' to be? The world 'law' has a meaning, and it's distinct from the meaning of 'consensus'. The whole idea that you'll replace the existing legal structures with some consensus of transaction miners is some apocalyptic nerdvana with no basis in the real world.