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

Function AvailableDataFormatsString

src/rest.cpp:155–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155static std::string AvailableDataFormatsString()
156{
157 std::string formats;
158 for (const auto& rf_name : rf_names) {
159 if (strlen(rf_name.name) > 0) {
160 formats.append(".");
161 formats.append(rf_name.name);
162 formats.append(", ");
163 }
164 }
165
166 if (formats.length() > 0)
167 return formats.substr(0, formats.length() - 2);
168
169 return formats;
170}
171
172static bool CheckWarmup(HTTPRequest* req)
173{

Callers 8

rest_headersFunction · 0.85
rest_spent_txoutsFunction · 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