diff options
author | Chris Ward <chris.ward@ethereum.org> | 2019-01-09 21:31:51 +0800 |
---|---|---|
committer | Chris Ward <chris.ward@ethereum.org> | 2019-01-14 20:14:39 +0800 |
commit | dbe88755af2cf1593b92cd6a08a097fcd8db8c47 (patch) | |
tree | 10a96dc0e30d224cc1983cfd4572178404c61f58 /docs | |
parent | 051df31924e7d10351e9a3abd4becd3631e83391 (diff) | |
download | dexon-solidity-dbe88755af2cf1593b92cd6a08a097fcd8db8c47.tar.gz dexon-solidity-dbe88755af2cf1593b92cd6a08a097fcd8db8c47.tar.zst dexon-solidity-dbe88755af2cf1593b92cd6a08a097fcd8db8c47.zip |
Remove random FAQ item
Diffstat (limited to 'docs')
-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 2cc082b4..8d7caefe 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 ================================================================= |