Bitcoin Core  27.99.0
P2P Digital Currency
Functions
warnings.h File Reference
#include <optional>
#include <string>
#include <vector>
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 SetfLargeWorkInvalidChainFound (bool flag)
 
void SetMedianTimeOffsetWarning (std::optional< bilingual_str > warning)
 Pass std::nullopt to disable the warning. More...
 
std::vector< bilingual_strGetWarnings ()
 Return potential problems detected by the node. More...
 

Function Documentation

◆ GetWarnings()

std::vector<bilingual_str> GetWarnings ( )

Return potential problems detected by the node.

Definition at line 40 of file warnings.cpp.

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

◆ SetfLargeWorkInvalidChainFound()

void SetfLargeWorkInvalidChainFound ( bool  flag)

Definition at line 28 of file warnings.cpp.

Here is the caller graph for this function:

◆ SetMedianTimeOffsetWarning()

void SetMedianTimeOffsetWarning ( std::optional< bilingual_str warning)

Pass std::nullopt to disable the warning.

Definition at line 34 of file warnings.cpp.

Here is the caller graph for this function:

◆ SetMiscWarning()

void SetMiscWarning ( const bilingual_str warning)

Definition at line 22 of file warnings.cpp.

Here is the caller graph for this function: