message: Create random uint64_t by adding two random 32 bit integers
diff: @@ -40,18 +40,24 @@ class FastRandomContext {
  public:
  explicit FastRandomContext(bool fDeterministic = false);
  + uint32_t Rz;
  + uint32_t Rw;
  +
  uint32_t rand32() {
  Rz = 36969 * (Rz & 65535) + (Rz >> 16);
  Rw = 18000 * (Rw & 65535) + (Rw >> 16);
  return (Rw << 16) + Rz;
  }
  + uint64_t rand64() {
  + uint64_t a = rand32();
  + uint64_t b = rand32();
  + return (b << 32) + a;
  + }
  +
  bool randbool() {
  return rand32() & 1;
  }
  -
  - uint32_t Rz;
  - uint32_t Rw;
  };
  /* Number of random bytes returned by GetOSRand.
  