mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
squashme: comment that NUM_OS_RANDOM_BYTES should not be changed lightly
This commit is contained in:
parent
224e6eb089
commit
aa09ccbb74
@ -46,7 +46,11 @@ public:
|
||||
uint32_t Rw;
|
||||
};
|
||||
|
||||
/* Number of random bytes returned by GetOSRand */
|
||||
/* Number of random bytes returned by GetOSRand.
|
||||
* When changing this constant make sure to change all call sites, and make
|
||||
* sure that the underlying OS APIs for all platforms support the number.
|
||||
* (many cap out at 256 bytes).
|
||||
*/
|
||||
static const ssize_t NUM_OS_RANDOM_BYTES = 32;
|
||||
|
||||
/** Get 32 bytes of system entropy. Do not use this in application code: use
|
||||
|
Loading…
Reference in New Issue
Block a user