Dogecoin Core
1.14.2
P2P Digital Currency
|
#include "alert.h"
#include "sync.h"
#include "clientversion.h"
#include "uint256.h"
#include "util.h"
#include "utilstrencodings.h"
#include "warnings.h"
#include <boost/foreach.hpp>
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) |
Format a string that describes several potential problems detected by the core. More... | |
Variables | |
CCriticalSection | cs_warnings |
std::string | strMiscWarning |
bool | fLargeWorkForkFound = false |
bool | fLargeWorkInvalidChainFound = false |
bool GetfLargeWorkForkFound | ( | ) |
bool GetfLargeWorkInvalidChainFound | ( | ) |
Definition at line 45 of file warnings.cpp.
std::string GetWarnings | ( | const std::string & | strFor | ) |
Format a string that describes several potential problems detected by the core.
strFor can have three values:
Definition at line 51 of file warnings.cpp.
void SetfLargeWorkForkFound | ( | bool | flag | ) |
Definition at line 27 of file warnings.cpp.
void SetfLargeWorkInvalidChainFound | ( | bool | flag | ) |
Definition at line 39 of file warnings.cpp.
void SetMiscWarning | ( | const std::string & | strWarning | ) |
Definition at line 21 of file warnings.cpp.
CCriticalSection cs_warnings |
Definition at line 16 of file warnings.cpp.
bool fLargeWorkForkFound = false |
Definition at line 18 of file warnings.cpp.
bool fLargeWorkInvalidChainFound = false |
Definition at line 19 of file warnings.cpp.
std::string strMiscWarning |
Definition at line 17 of file warnings.cpp.