Bitcoin Core 28.99.0
P2P Digital Currency
Functions
chaintype.cpp File Reference
#include <util/chaintype.h>
#include <cassert>
#include <optional>
#include <string>
Include dependency graph for chaintype.cpp:

Go to the source code of this file.

Functions

std::string ChainTypeToString (ChainType chain)
 
std::optional< ChainTypeChainTypeFromString (std::string_view chain)
 

Function Documentation

◆ ChainTypeFromString()

std::optional< ChainType > ChainTypeFromString ( std::string_view  chain)

Definition at line 28 of file chaintype.cpp.

Here is the caller graph for this function:

◆ ChainTypeToString()

std::string ChainTypeToString ( ChainType  chain)

Definition at line 11 of file chaintype.cpp.

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