#include <consensus/amount.h>
#include <pubkey.h>
#include <test/fuzz/util.h>
#include <test/util/script.h>
#include <util/check.h>
#include <util/overflow.h>
#include <util/rbf.h>
#include <util/time.h>
#include <memory>
Go to the source code of this file.
|
std::vector< uint8_t > | ConstructPubKeyBytes (FuzzedDataProvider &fuzzed_data_provider, Span< const uint8_t > byte_data, const bool compressed) noexcept |
|
CAmount | ConsumeMoney (FuzzedDataProvider &fuzzed_data_provider, const std::optional< CAmount > &max) noexcept |
|
int64_t | ConsumeTime (FuzzedDataProvider &fuzzed_data_provider, const std::optional< int64_t > &min, const std::optional< int64_t > &max) noexcept |
|
CMutableTransaction | ConsumeTransaction (FuzzedDataProvider &fuzzed_data_provider, const std::optional< std::vector< Txid > > &prevout_txids, const int max_num_in, const int max_num_out) noexcept |
|
CScriptWitness | ConsumeScriptWitness (FuzzedDataProvider &fuzzed_data_provider, const size_t max_stack_elem_size) noexcept |
|
CScript | ConsumeScript (FuzzedDataProvider &fuzzed_data_provider, const bool maybe_p2wsh) noexcept |
|
uint32_t | ConsumeSequence (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
std::map< COutPoint, Coin > | ConsumeCoins (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
CTxDestination | ConsumeTxDestination (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
CKey | ConsumePrivateKey (FuzzedDataProvider &fuzzed_data_provider, std::optional< bool > compressed) noexcept |
|
bool | ContainsSpentInput (const CTransaction &tx, const CCoinsViewCache &inputs) noexcept |
|
◆ ConstructPubKeyBytes()
std::vector< uint8_t > ConstructPubKeyBytes |
( |
FuzzedDataProvider & |
fuzzed_data_provider, |
|
|
Span< const uint8_t > |
byte_data, |
|
|
const bool |
compressed |
|
) |
| |
|
noexcept |
◆ ConsumeCoins()
◆ ConsumeMoney()
◆ ConsumePrivateKey()
◆ ConsumeScript()
◆ ConsumeScriptWitness()
◆ ConsumeSequence()
◆ ConsumeTime()
int64_t ConsumeTime |
( |
FuzzedDataProvider & |
fuzzed_data_provider, |
|
|
const std::optional< int64_t > & |
min, |
|
|
const std::optional< int64_t > & |
max |
|
) |
| |
|
noexcept |
◆ ConsumeTransaction()
◆ ConsumeTxDestination()
◆ ContainsSpentInput()