MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / AvailableDataFormatsString

Function AvailableDataFormatsString

src/rest.cpp:92–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static 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
108static bool ParseHashStr(const std::string& strReq, uint256& v)
109{

Callers 3

rest_blockFunction · 0.85
rest_txFunction · 0.85
rest_getutxosFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected