Bitcoin
Functions
warnings.h File Reference
#include <stdlib.h>
#include <string>

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)
 
std::string GetWarnings (const std::string &strFor)
 

Function Documentation

◆ GetfLargeWorkForkFound()

bool GetfLargeWorkForkFound ( )

◆ GetWarnings()

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

Format a string that describes several potential problems detected by the core.

Parameters
[in]strForcan have the following values:
  • "statusbar": get the most important warning
  • "gui": get all warnings, translated (where possible) for GUI, separated by
Returns
the warning string selected by strFor

◆ SetfLargeWorkForkFound()

void SetfLargeWorkForkFound ( bool  flag)

◆ SetfLargeWorkInvalidChainFound()

void SetfLargeWorkInvalidChainFound ( bool  flag)

◆ SetMiscWarning()

void SetMiscWarning ( const std::string &  strWarning)