33 }
catch (
const std::ios_base::failure&) {
42 std::array<std::byte, 4096>
arr{};
45 }
catch (
const std::ios_base::failure&) {
63 }
catch (
const std::ios_base::failure&) {
void ReadFromStream(AddrMan &addr, DataStream &ssPeers)
Only used by tests.
Non-refcounted RAII wrapper for FILE*.
T ConsumeIntegralInRange(T min, T max)
static constexpr size_t KEY_SIZE
#define LIMITED_WHILE(condition, limit)
Can be used to limit a theoretically unbounded loop.
size_t CallOneOf(FuzzedDataProvider &fuzzed_data_provider, Callables... callables)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
FuzzedDataProvider & fuzzed_data_provider