File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
+ #include < core_io.h>
6
+ #include < primitives/block.h>
7
+ #include < rpc/util.h>
5
8
#include < test/fuzz/fuzz.h>
6
-
9
+ #include < uint256.h>
10
+ #include < univalue.h>
7
11
#include < util/strencodings.h>
8
12
9
13
#include < cassert>
@@ -19,4 +23,14 @@ void test_one_input(const std::vector<uint8_t>& buffer)
19
23
if (IsHex (random_hex_string)) {
20
24
assert (ToLower (random_hex_string) == hex_data);
21
25
}
26
+ (void )IsHexNumber (random_hex_string);
27
+ uint256 result;
28
+ (void )ParseHashStr (random_hex_string, result);
29
+ (void )uint256S (random_hex_string);
30
+ try {
31
+ (void )HexToPubKey (random_hex_string);
32
+ } catch (const UniValue&) {
33
+ }
34
+ CBlockHeader block_header;
35
+ (void )DecodeHexBlockHeader (block_header, random_hex_string);
22
36
}
You can’t perform that action at this time.
0 commit comments