peerplays/libraries/chain/db_update.cppuint64_t database::get_random_bits( uint64_t bound ){return_random_number_generator(bound);}peerplays/libraries/fc/include/fc/crypto/hash_ctr_rng.hppuint64_toperator()( uint64_t bound ) {if( bound <=1 )return0;uint8_t bitcount = boost::multiprecision::detail::find_msb( bound ) +1; // probability of loop exiting is >= 1/2, so probability of // running N times is bounded above by (1/2)^Nwhile( true ) {uint64_t result =get_bits( bitcount );if( result < bound )return result; } }