Earlier quoted context omitted.
> Unmarked functions default to public in Solidity What kind of brain-dead apes designed this language? This would be a stupid decision in any language, never mind one specifically intended for high-value transactions.
This is why I keep saying that "smart contracts" should be expressed in some declarative notation like decision tables. Byte-coded programs as contracts were a really bad idea. Contracts need to be readable, not just executable.
153k Ether Stolen in Parity Multi-Sig Attack
631–640 of 754 posts
Re: 153k Ether Stolen in Parity Multi-Sig Attack
#632Earlier quoted context omitted.
Ok, and now what if the two parties are anonymous or one lives in Russia? In that case the judge can't do shit. If you want the protections of courts, there is already a perfectly easy way to do that. And that is to use a real contract. But if you explicitly do NOT want that, and explicitly DO want code to be law, that is what ethereum is for. a judge can't take away the crytocurrencies of some anonymous other party.
> Ok, and now what if the two parties are anonymous or one lives in Russia? > In that case the judge can't do shit. In the latter case, I'm pretty sure that (even leaving aside other mechanisms that might apply), judges and courts exist in Russia. Agreements where the parties are based indifferent countries have long been a thing, and long been enforceable by courts. Unmasking anonymous parties, obviously, can be (th…
Re: 153k Ether Stolen in Parity Multi-Sig Attack
#633Earlier quoted context omitted.
Your enumerated conditions apply to traditional legal contracts as well.
Traditional contracts aren't immutable in the same sense though, right? They can be appealed, annulled, ignored...
Re: 153k Ether Stolen in Parity Multi-Sig Attack
#634Earlier quoted context omitted.
Maybe they estimated that this was the proportion that would protect their gains from a hard fork
I agree. Probably game theory reasons. Don't steal so much it will cause the community to unite and hard fork. 30 million is enough to retire and probably not enough to cause hard fork and rollback of txs. They played it safe.
30 million is enough for a small group of hackers to live comfortably for the rest of their lives.
Re: 153k Ether Stolen in Parity Multi-Sig Attack
#635Earlier quoted context omitted.
> Ethereum offers immutability, and blockchains can foster new kinds of trust, but trust still has to grow organically in the ecosystem. If you need a source of trust outside of the blockchain, why would you need the blockchain after such trust has been obtained?
> outside of the blockchain The blockchain offers characteristics (immutability, consensus, distributed backup) that allows entities to trust each other efficiently. But when you introduce a non-trivial smart contract, there is a chance that it (a black box) has behavior that is not obvious from its source code. Since the behavior of the contract will cause immutable changes to the blockchain, and since humans can't…
Nope. All of these can be achieved without using proof-of-work which is terribly inefficient.
The parties would have to trust each other... but well, they have to in Ethereum too :)
Re: 153k Ether Stolen in Parity Multi-Sig Attack
#636Earlier quoted context omitted.
It's only a bubble if you can identify it ahead of time. Stating that something became much more valuable over a short period of time doesn't mean you know how to identify bubbles. Bitcoin is 70-80 times more valuable now than when it was at 32, and had you bought it then you would be up a lot. So, to say crypto is in a bubble today is the same thing as to predict that in a few years it will be worth less than today.…
Downvoters, since you know how to indentify bubbles, I'm assuming you shorted ethereum on margin on GDAX when it hit 400 and made a ton? No? If not, why not, if you knew definitely it was a bubble ?
Don't short hopium.
Re: 153k Ether Stolen in Parity Multi-Sig Attack
#637Earlier quoted context omitted.
I'm inclined to agree but I must say this traditional system is unscalable. Sure it can detect millions of dollars of fraudulent transactions, but what if it's a single person who's the victim of identity theft and lost just a few thousand dollars? A few thousand dollars is nothing in the grand scheme of things but they are a lot to a single individual.
Doesn't this happen every day, over trivially small sums? You've never heard of a credit card chargeback?
If cryptocurrencies think that they can provide this service for substantially cheaper than 2-3% (note that this is an additional service on top of simply making the transfer happen, so mining fees aren't the right thing to compare), that sounds awesome, but also I'd like to understand why it's possible.
Re: 153k Ether Stolen in Parity Multi-Sig Attack
#638Earlier quoted context omitted.
> Block scoping is default now in JS The default best practice, you mean? Declaring with 'var' will still get you the same lexical scoping rules as always. I believe OP meant 'inherited from pre-ES6 JS'
I thought using "var" is deprecated... If there's anyone who has the chance to use let/const but still doesn't, I'd be very curious to learn about their reasoning
That being said, "const" is already hardwired.
Re: 153k Ether Stolen in Parity Multi-Sig Attack
#639Earlier quoted context omitted.
They did this already? I'm guessing it happened in the dao accident? If so, this seems terrifying, what if I had accepted stolen ETH to sell physical goods?
It seems to match the real world in some ways; If I barter and end up accepting stolen physical goods, things can go rather badly for me.
I.e. if you accept counterfeit money, it's on you, but your money should not become counterfeit overnight.
Re: 153k Ether Stolen in Parity Multi-Sig Attack
#640Earlier quoted context omitted.
99 out of 100 questions. Solidity is ostensibly designed to let people write smart contracts for Ethereum. More realistically, it is a marketing tool for enabling and onboarding people onto the Ethereum platform, which Ethereum benefits monetarily (enormously so) from. Security and design are secondary goals to the extent that they help prevent disasters which hurt adoption or churn developers away. Through this lens…
Being a good, secure language for writing smart contracts is absolutely one of the most important goals for Solidity. I can say so because I have been involved as a regular contributor to the compiler for more than a year. If onboarding a lot of people to the platform quickly were the goal instead, they would have ported some crippled version of Java or JS and called it a day. The problem is that it's just not easy t…