Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
decode_tx.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
5#include <core_io.h>
7#include <test/fuzz/fuzz.h>
8#include <util/strencodings.h>
9
10#include <cassert>
11#include <cstdint>
12#include <string>
13#include <vector>
14
bool DecodeHexTx(CMutableTransaction &tx, const std::string &hex_tx, bool try_no_witness, bool try_witness)
Definition core_io.cpp:227
#define FUZZ_TARGET(...)
Definition fuzz.h:35
std::string HexStr(const std::span< const uint8_t > s)
Convert a span of bytes to a lower-case hexadecimal string.
Definition hex_base.cpp:30
A mutable version of CTransaction.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition time.h:73
assert(!tx.IsCoinBase())