Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <optional>
#include <string>
Go to the source code of this file.
Enumerations | |
enum class | ChainType { MAIN , TESTNET , SIGNET , REGTEST , TESTNET4 } |
Functions | |
std::string | ChainTypeToString (ChainType chain) |
std::optional< ChainType > | ChainTypeFromString (std::string_view chain) |
|
strong |
Enumerator | |
---|---|
MAIN | |
TESTNET | |
SIGNET | |
REGTEST | |
TESTNET4 |
Definition at line 11 of file chaintype.h.
std::optional< ChainType > ChainTypeFromString | ( | std::string_view | chain | ) |
std::string ChainTypeToString | ( | ChainType | chain | ) |
Definition at line 11 of file chaintype.cpp.