Zcoin implementation bug enabled attacker to create 548, 000 Zcoins
Ivan Kazmenko via Digitalmars-d
digitalmars-d at puremagic.com
Thu Mar 9 19:45:37 PST 2017
On Thursday, 9 March 2017 at 15:42:22 UTC, qznc wrote:
> I'm curious. Where does it make sense for opEquals to be
> non-pure? Likewise opCmp, etc.
An example would be tracking the number of comparisons made.
This sounds like debug information (and then, debug statement can
be used to escape purity), but perhaps may be applied beyond
simple debugging and profiling.
More information about the Digitalmars-d