int64_t CAmount
Amount in satoshis (Can be negative)
The basic transaction that is broadcasted on the network and contained in blocks.
std::vector< T > ConsumeBytes(size_t num_bytes)
T ConsumeIntegralInRange(T min, T max)
Valid signature cache, to avoid doing expensive ECDSA signature checking twice for every transaction ...
static constexpr TransactionSerParams TX_WITH_WITNESS
void initialize_script_sigcache()
static constexpr size_t DEFAULT_SIGNATURE_CACHE_BYTES
A mutable version of CTransaction.
CAmount ConsumeMoney(FuzzedDataProvider &fuzzed_data_provider, const std::optional< CAmount > &max) noexcept
uint256 ConsumeUInt256(FuzzedDataProvider &fuzzed_data_provider) noexcept
std::vector< B > ConsumeRandomLengthByteVector(FuzzedDataProvider &fuzzed_data_provider, const std::optional< size_t > &max_length=std::nullopt) noexcept
void SeedRandomStateForTest(SeedRand seedtype)
Seed the global RNG state for testing and log the seed value.
@ ZEROS
Seed with a compile time constant of zeros.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
FuzzedDataProvider & fuzzed_data_provider