Move GetAllOutputTypes function from rpc/rawtransaction.cpp to rpc/util.{h|cpp}

This commit is contained in:
Kiminuo
2022-02-14 14:33:39 +01:00
parent 3ce40e64d4
commit d970a85d33
3 changed files with 17 additions and 10 deletions

View File

@@ -39,6 +39,13 @@ class CPubKey;
class CScript;
struct Sections;
/**
* Gets all existing output types formatted for RPC help sections.
*
* @return Comma separated string representing output type names.
*/
std::string GetAllOutputTypes();
/** Wrapper for UniValue::VType, which includes typeAny:
* Used to denote don't care type. */
struct UniValueType {