PIVX Core  5.6.99
P2P Digital Currency
Functions
sapling_util.h File Reference
#include "fs.h"
#include "uint256.h"
#include <sodium.h>
#include <vector>
#include <cstdint>
Include dependency graph for sapling_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::vector< unsigned char > convertIntToVectorLE (const uint64_t val_int)
 
std::vector< bool > convertBytesVectorToVector (const std::vector< unsigned char > &bytes)
 
uint64_t convertVectorToInt (const std::vector< bool > &v)
 
uint256 random_uint256 ()
 

Function Documentation

◆ convertBytesVectorToVector()

std::vector<bool> convertBytesVectorToVector ( const std::vector< unsigned char > &  bytes)

Definition at line 25 of file sapling_util.cpp.

Here is the caller graph for this function:

◆ convertIntToVectorLE()

std::vector<unsigned char> convertIntToVectorLE ( const uint64_t  val_int)

Definition at line 14 of file sapling_util.cpp.

◆ convertVectorToInt()

uint64_t convertVectorToInt ( const std::vector< bool > &  v)

Definition at line 41 of file sapling_util.cpp.

Here is the caller graph for this function:

◆ random_uint256()

uint256 random_uint256 ( )

Definition at line 56 of file sapling_util.cpp.

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