diff options
author | chriseth <chris@ethereum.org> | 2019-01-14 21:12:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-14 21:12:35 +0800 |
commit | 185d221909077e90de62c20ecba2a7ae35daca3c (patch) | |
tree | 2b5b7a4abeb1188a67c4f15e87921c462c0f9b75 | |
parent | d5d90850b464d79cb2f98c7d0b7e34da8f564a00 (diff) | |
parent | dbe88755af2cf1593b92cd6a08a097fcd8db8c47 (diff) | |
download | dexon-solidity-185d221909077e90de62c20ecba2a7ae35daca3c.tar dexon-solidity-185d221909077e90de62c20ecba2a7ae35daca3c.tar.gz dexon-solidity-185d221909077e90de62c20ecba2a7ae35daca3c.tar.bz2 dexon-solidity-185d221909077e90de62c20ecba2a7ae35daca3c.tar.lz dexon-solidity-185d221909077e90de62c20ecba2a7ae35daca3c.tar.xz dexon-solidity-185d221909077e90de62c20ecba2a7ae35daca3c.tar.zst dexon-solidity-185d221909077e90de62c20ecba2a7ae35daca3c.zip |
Merge pull request #5788 from ethereum/remove-rnd-faq
[DOCS] Remove FAQ item on random number generation
-rw-r--r-- | docs/frequently-asked-questions.rst | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index 653ff483..20c01e5c 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -77,15 +77,6 @@ otherwise an exception is thrown. Advanced Questions ****************** -How do you get a random number in a contract? (Implement a self-returning gambling contract.) -============================================================================================= - -Getting randomness right is often the crucial part in a crypto project and -most failures result from bad random number generators. - -If you do not want it to be safe, you build something similar to the `coin flipper <https://github.com/fivedogit/solidity-baby-steps/blob/master/contracts/35_coin_flipper.sol>`_ -but otherwise, rather use a contract that supplies randomness, like the `RANDAO <https://github.com/randao/randao>`_. - Get return value from non-constant function from another contract ================================================================= |