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

Function AvailableDataFormatsString

src/rest.cpp:85–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85static string AvailableDataFormatsString()
86{
87 string formats = "";
88 for (unsigned int i = 0; i < ARRAYLEN(rf_names); i++)
89 if (strlen(rf_names[i].name) > 0) {
90 formats.append(".");
91 formats.append(rf_names[i].name);
92 formats.append(", ");
93 }
94
95 if (formats.length() > 0)
96 return formats.substr(0, formats.length() - 2);
97
98 return formats;
99}
100
101static bool ParseHashStr(const string& strReq, uint256& v)
102{

Callers 3

rest_blockFunction · 0.85
rest_txFunction · 0.85
rest_getutxosFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected