Bitcoin Core  0.20.99
P2P Digital Currency
Functions
warnings.h File Reference
#include <string>
Include dependency graph for warnings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void SetMiscWarning (const bilingual_str &warning)
 
void SetfLargeWorkForkFound (bool flag)
 
bool GetfLargeWorkForkFound ()
 
void SetfLargeWorkInvalidChainFound (bool flag)
 
bilingual_str GetWarnings (bool verbose)
 Format a string that describes several potential problems detected by the core. More...
 

Function Documentation

◆ GetfLargeWorkForkFound()

bool GetfLargeWorkForkFound ( )

Definition at line 32 of file warnings.cpp.

Here is the caller graph for this function:

◆ GetWarnings()

bilingual_str GetWarnings ( bool  verbose)

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

Parameters
[in]verbosebool
  • if true, get all warnings separated by
  • if false, get the most important warning
Returns
the warning string

Definition at line 44 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 26 of file warnings.cpp.

Here is the caller graph for this function:

◆ SetfLargeWorkInvalidChainFound()

void SetfLargeWorkInvalidChainFound ( bool  flag)

Definition at line 38 of file warnings.cpp.

Here is the caller graph for this function:

◆ SetMiscWarning()

void SetMiscWarning ( const bilingual_str warning)

Definition at line 20 of file warnings.cpp.

Here is the caller graph for this function: