diff options
author | Pieter Wuille <pieter@wuille.net> | 2021-05-18 12:37:02 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2021-05-24 16:15:05 -0700 |
commit | 66545da2008cd9e806e41b74522ded259cd64f86 (patch) | |
tree | 0e735db6f3914d8938549e16ca55305b2535df5b /src/test/fuzz | |
parent | fff1cae43af959a601cf2558cb3c77f3c2b1aa80 (diff) | |
download | bitcoin-66545da2008cd9e806e41b74522ded259cd64f86.tar.xz |
Remove support for double serialization
Diffstat (limited to 'src/test/fuzz')
-rw-r--r-- | src/test/fuzz/float.cpp | 3 | ||||
-rw-r--r-- | src/test/fuzz/util.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/test/fuzz/float.cpp b/src/test/fuzz/float.cpp index e95d593b22..adef66a3ee 100644 --- a/src/test/fuzz/float.cpp +++ b/src/test/fuzz/float.cpp @@ -3,15 +3,12 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <memusage.h> -#include <serialize.h> -#include <streams.h> #include <test/fuzz/FuzzedDataProvider.h> #include <test/fuzz/fuzz.h> #include <util/serfloat.h> #include <version.h> #include <cassert> -#include <cstdint> #include <cmath> #include <limits> diff --git a/src/test/fuzz/util.h b/src/test/fuzz/util.h index ac8df782be..cf7796e4ae 100644 --- a/src/test/fuzz/util.h +++ b/src/test/fuzz/util.h @@ -513,7 +513,6 @@ void WriteToStream(FuzzedDataProvider& fuzzed_data_provider, Stream& stream) noe WRITE_TO_STREAM_CASE(uint32_t, fuzzed_data_provider.ConsumeIntegral<uint32_t>()), WRITE_TO_STREAM_CASE(int64_t, fuzzed_data_provider.ConsumeIntegral<int64_t>()), WRITE_TO_STREAM_CASE(uint64_t, fuzzed_data_provider.ConsumeIntegral<uint64_t>()), - WRITE_TO_STREAM_CASE(double, fuzzed_data_provider.ConsumeFloatingPoint<double>()), WRITE_TO_STREAM_CASE(std::string, fuzzed_data_provider.ConsumeRandomLengthString(32)), WRITE_TO_STREAM_CASE(std::vector<char>, ConsumeRandomLengthIntegralVector<char>(fuzzed_data_provider))); } catch (const std::ios_base::failure&) { @@ -544,7 +543,6 @@ void ReadFromStream(FuzzedDataProvider& fuzzed_data_provider, Stream& stream) no READ_FROM_STREAM_CASE(uint32_t), READ_FROM_STREAM_CASE(int64_t), READ_FROM_STREAM_CASE(uint64_t), - READ_FROM_STREAM_CASE(double), READ_FROM_STREAM_CASE(std::string), READ_FROM_STREAM_CASE(std::vector<char>)); } catch (const std::ios_base::failure&) { |