Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
parse_iso8601.cpp
Go to the documentation of this file.
1// Copyright (c) 2019-present The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
6#include <test/fuzz/fuzz.h>
7#include <util/time.h>
8
9#include <cassert>
10#include <cstdint>
11#include <string>
12#include <vector>
13
std::string ConsumeRemainingBytesAsString()
#define FUZZ_TARGET(...)
Definition fuzz.h:35
std::string random_string(uint32_t length)
std::string FormatISO8601Date(int64_t nTime)
Definition time.cpp:92
std::optional< int64_t > ParseISO8601DateTime(std::string_view str)
Definition time.cpp:100
std::string FormatISO8601DateTime(int64_t nTime)
ISO 8601 formatting is preferred.
Definition time.cpp:83
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition time.h:73
assert(!tx.IsCoinBase())
FuzzedDataProvider & fuzzed_data_provider
Definition fees.cpp:38