PIVX Core  5.6.99
P2P Digital Currency
Functions | Variables
warnings.cpp File Reference
#include "warnings.h"
#include "sync.h"
#include "clientversion.h"
#include "util/system.h"
Include dependency graph for warnings.cpp:

Go to the source code of this file.

Functions

void SetMiscWarning (const std::string &strWarning)
 
void SetfLargeWorkForkFound (bool flag)
 
bool GetfLargeWorkForkFound ()
 
void SetfLargeWorkInvalidChainFound (bool flag)
 
bool GetfLargeWorkInvalidChainFound ()
 
std::string GetWarnings (const std::string &strFor)
 

Variables

RecursiveMutex cs_warnings
 
std::string strMiscWarning
 
bool fLargeWorkForkFound = false
 
bool fLargeWorkInvalidChainFound = false
 

Function Documentation

◆ GetfLargeWorkForkFound()

bool GetfLargeWorkForkFound ( )

Definition at line 29 of file warnings.cpp.

Here is the caller graph for this function:

◆ GetfLargeWorkInvalidChainFound()

bool GetfLargeWorkInvalidChainFound ( )

Definition at line 41 of file warnings.cpp.

◆ GetWarnings()

std::string GetWarnings ( const std::string &  strFor)

Definition at line 47 of file warnings.cpp.

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

◆ SetfLargeWorkForkFound()

void SetfLargeWorkForkFound ( bool  flag)

Definition at line 23 of file warnings.cpp.

◆ SetfLargeWorkInvalidChainFound()

void SetfLargeWorkInvalidChainFound ( bool  flag)

Definition at line 35 of file warnings.cpp.

◆ SetMiscWarning()

void SetMiscWarning ( const std::string &  strWarning)

Definition at line 17 of file warnings.cpp.

Variable Documentation

◆ cs_warnings

RecursiveMutex cs_warnings

Definition at line 12 of file warnings.cpp.

◆ fLargeWorkForkFound

bool fLargeWorkForkFound = false

Definition at line 14 of file warnings.cpp.

◆ fLargeWorkInvalidChainFound

bool fLargeWorkInvalidChainFound = false

Definition at line 15 of file warnings.cpp.

◆ strMiscWarning

std::string strMiscWarning

Definition at line 13 of file warnings.cpp.