bitcoinj/core
Sean Gilligan f3c4b5fcf4 BloomFilter: use signed integer for the nonce (nTweak)
It's arbitrary data and we're not supposed to do math on it, so it's
safe to use a signed Java `int`.

Also use `new Random().nextInt()` to generate the nonce. We were
previously generating a random double, multiplying by `Long.MAX_VALUE`
and then truncating the low 32-bits of the long. Using `.nextInt()`
might actually generate MORE randomness since there will be no truncation.
2023-03-24 18:34:09 +01:00
..
src BloomFilter: use signed integer for the nonce (nTweak) 2023-03-24 18:34:09 +01:00
build.gradle build.gradle: update protobuf-javalite to 3.21.12 2023-01-29 21:59:16 +01:00
findbugs.xml