On 02/26/2017 01:23 PM, cym13 wrote:

[1]: https://cym13.github.io/article/unpredictableSeed.html

Good enlightening article. And Veles looks cool, never heard of it before.

One detail:

auto copyState(uint origin) {
    for (uint i=1; i>0; i++) {
        if (origin == Random(i).front)
            return origin;
    }
    return 0;
}

Shouldn't "return origin;" be "return i;"?

Reply via email to