Returns the appropriate chain type from the program arguments.
Declared in <common/args.h>
<common/args.h>
ChainType GetChainType() const;
ChainType::MAIN by default; raises runtime error if an invalid combination, or unknown chain is given.