Files
ternfs-XTXMarkets/cpp/Shuckle.hpp
Francesco Mazzoli c66fc4f4a5 Seemingly functional span adding/removal...
...much more testing needed.
2022-12-15 13:36:15 +00:00

14 lines
353 B
C++

#pragma once
#include "Msgs.hpp"
#include "MsgsGen.hpp"
// The host here is the scheme + host + port, e.g. `http://localhost:5000`.
// If it returns false, the request fails, and `errString` contains why.
bool fetchBlockServices(
const std::string& host,
uint64_t timeoutMs,
std::string &errString,
UpdateBlockServicesEntry& blocks
);