<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/tests/unit_tests/rolling_median.cpp, branch v0.15.0.1</title>
<subtitle>Monzero core node, command-line wallet, consensus code, and release tooling.
</subtitle>
<id>https://code.monzero.org/monzero-core.git/atom?h=v0.15.0.1</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.15.0.1'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2019-08-15T14:33:15Z</updated>
<entry>
<title>Replace std::random_shuffle with std::shuffle</title>
<updated>2019-08-15T14:33:15Z</updated>
<author>
<name>Tom Smeding</name>
<email>tom.smeding@gmail.com</email>
</author>
<published>2019-07-03T09:05:01Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=7b9a420787c71624ff0e9c6bcfe1e72c74feb677'/>
<id>urn:sha1:7b9a420787c71624ff0e9c6bcfe1e72c74feb677</id>
<content type='text'>
According to [1], std::random_shuffle is deprecated in C++14 and removed
in C++17. Since std::shuffle is available since C++11 as a replacement
and monero already requires C++11, this is a good replacement.

A cryptographically secure random number generator is used in all cases
to prevent people from perhaps copying an insecure std::shuffle call
over to a place where a secure one would be warranted. A form of
defense-in-depth.

[1]: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
</content>
</entry>
<entry>
<title>use crypto::rand instead of libc rand in a few tests</title>
<updated>2019-05-10T14:15:35Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-05-10T14:09:11Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=de27651f809256cd601bdc5d8015e5fe5fdd3556'/>
<id>urn:sha1:de27651f809256cd601bdc5d8015e5fe5fdd3556</id>
<content type='text'>
We don't need secure randomness here, but it should shut coverity up
</content>
</entry>
<entry>
<title>blockchain: keep a rolling long term block weight median</title>
<updated>2019-05-02T09:47:01Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-04-15T00:33:17Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a4c4a2d8aa921b6eba0ac4c57b7a55a1e895a6e3'/>
<id>urn:sha1:a4c4a2d8aa921b6eba0ac4c57b7a55a1e895a6e3</id>
<content type='text'>
</content>
</entry>
</feed>
