ArgsManager::GetChainType

Returns the appropriate chain type from the program arguments.

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381ae128)]]
ChainType
GetChainType() const;

Return Value

ChainType::MAIN by default; raises runtime error if an invalid combination, or unknown chain is given.