Initialize randomness in benchmarks #10662

pull achow101 wants to merge 1 commits into bitcoin:master from achow101:fix-bench changing 1 files +2 −0
  1. achow101 commented at 9:21 PM on June 23, 2017: member

    Call RandomInit() in bench_bitcoin to initialize the RNG so that it does not cause an assertion error.

  2. Initialize randomness in benchmarks
    Call RandomInit() in bench_bitcoin to initialize the RNG so that it
    does not cause an assertion error.
    5155d1101e
  3. sipa commented at 10:59 PM on June 23, 2017: member

    utACK 5155d1101eb4fc9d4d797b583bb29f71807bd10b

  4. theuni commented at 12:47 AM on June 24, 2017: member

    Caught one! :)

    utACK 5155d1101eb4fc9d4d797b583bb29f71807bd10b

  5. sipa commented at 12:52 AM on June 24, 2017: member

    Caught one! :)

    Yes, not using hardware randomness in our benchmarks would indeed be devastating for security.

    ... Ok, I'll concede having an assertion was a good idea.

  6. MarcoFalke added the label Tests on Jun 24, 2017
  7. MarcoFalke merged this on Jun 24, 2017
  8. MarcoFalke closed this on Jun 24, 2017

  9. MarcoFalke referenced this in commit e0a7801223 on Jun 24, 2017
  10. achow101 deleted the branch on Aug 29, 2017
  11. PastaPastaPasta referenced this in commit c62c7ab6d6 on Sep 3, 2019
  12. barrystyle referenced this in commit 7d921f924f on Jan 22, 2020
  13. MarcoFalke locked this on Sep 8, 2021
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-19 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me