MCPcopy Create free account
hub / github.com/ElementsProject/elements / AvailableDataFormatsString

Function AvailableDataFormatsString

src/rest.cpp:162–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162static std::string AvailableDataFormatsString()
163{
164 std::string formats;
165 for (const auto& rf_name : rf_names) {
166 if (strlen(rf_name.name) > 0) {
167 formats.append(".");
168 formats.append(rf_name.name);
169 formats.append(", ");
170 }
171 }
172
173 if (formats.length() > 0)
174 return formats.substr(0, formats.length() - 2);
175
176 return formats;
177}
178
179static bool CheckWarmup(HTTPRequest* req)
180{

Callers 7

rest_headersFunction · 0.85
rest_blockFunction · 0.85
rest_filter_headerFunction · 0.85
rest_block_filterFunction · 0.85
rest_txFunction · 0.85
rest_getutxosFunction · 0.85
rest_blockhash_by_heightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected