ChainTypeToString

Convert a chain type to its canonical string name.

Synopsis

Declared in <util/chaintype.h>

std::string
ChainTypeToString(ChainType chain);

Return Value

The canonical string name of the chain.

Parameters

NameDescription
chainThe chain type to convert.