Bitcoin Core  25.99.0
P2P Digital Currency
Functions
random.h File Reference
#include <consensus/amount.h>
#include <random.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <cstdint>
Include dependency graph for random.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static uint32_t InsecureRand32 ()
 
static uint256 InsecureRand256 ()
 
static uint64_t InsecureRandBits (int bits)
 
static uint64_t InsecureRandRange (uint64_t range)
 
static bool InsecureRandBool ()
 
static CAmount InsecureRandMoneyAmount ()
 

Function Documentation

◆ InsecureRand256()

static uint256 InsecureRand256 ( )
inlinestatic

Definition at line 20 of file random.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InsecureRand32()

static uint32_t InsecureRand32 ( )
inlinestatic

Definition at line 15 of file random.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InsecureRandBits()

static uint64_t InsecureRandBits ( int  bits)
inlinestatic

Definition at line 25 of file random.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InsecureRandBool()

static bool InsecureRandBool ( )
inlinestatic

Definition at line 35 of file random.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InsecureRandMoneyAmount()

static CAmount InsecureRandMoneyAmount ( )
inlinestatic

Definition at line 40 of file random.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InsecureRandRange()

static uint64_t InsecureRandRange ( uint64_t  range)
inlinestatic

Definition at line 30 of file random.h.

Here is the call graph for this function:
Here is the caller graph for this function: