| 90 | } |
| 91 | |
| 92 | static std::string AvailableDataFormatsString() |
| 93 | { |
| 94 | std::string formats; |
| 95 | for (unsigned int i = 0; i < ARRAYLEN(rf_names); i++) |
| 96 | if (strlen(rf_names[i].name) > 0) { |
| 97 | formats.append("."); |
| 98 | formats.append(rf_names[i].name); |
| 99 | formats.append(", "); |
| 100 | } |
| 101 | |
| 102 | if (formats.length() > 0) |
| 103 | return formats.substr(0, formats.length() - 2); |
| 104 | |
| 105 | return formats; |
| 106 | } |
| 107 | |
| 108 | static bool ParseHashStr(const std::string& strReq, uint256& v) |
| 109 | { |
no outgoing calls
no test coverage detected