Better HN
topnewbestaskshowjobs
Log inSign up

varav

26 karma · joined Sep 1, 2014 (12y ago) · 8 submissions

varav.in
Submissions

1.

Perspectives on Issue Tracking(medium.com ↗)

1 points · by varav · 7y ago · discuss

comment 10y ago · link · parent

In case anybody is wondering how this happened, it looks like the attack is exploiting the "recursive call via default function" vulnerability [1].

[1]: http://vessenes.com/more-ethereum-attacks-race-to-empty-is-t...

3.

Procedural Dungeon Generation(varav.in ↗)

4 points · by varav · 10y ago · discuss

comment 10y ago · link · parent

> your code needs to trust an external system providing the data

As for the reliability of external data sources to a contract running on Ethereum, there are multiple proposed solutions.

One is to use some sort of reputation tokens similar to what Augur[1] - a prediction market built on Ethereum; employs.

Another solution that was suggested by one of the co-founders of the Ethereum project is to use "Schelling points"[2] as guides since a large number of non-communicating reporters of events will most likely converge at what is closest to the truth[3].

> other people will honour the 'facts' decided by your program

I don't really see that as a technical limitation of Ethereum. IANAL but, if the terms of the smart contract can be codified into a legal agreement, then the decisions of the program can be made enforceable by law.

[1]: http://augur.link/augur.pdf

[2]: https://en.wikipedia.org/wiki/Focal_point_%28game_theory%29

[3]: https://blog.ethereum.org/2014/03/28/schellingcoin-a-minimal...

5.

L-systems(varav.in ↗)

28 points · by varav · 11y ago · 4 comments

comment 12y ago · link · parent

Please read the article. I was referring to the method in the Java example. You cannot access `add1` from main since main is static

comment 12y ago · link · parent

The `add1` method should be declared static