iwyu: Fix includes for test/fuzz/util/descriptor module
Also, fix a typo.
This commit is contained in:
2 files changed
+15
-8
No files matched your search
@@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
#include <test/fuzz/util/descriptor.h>
|
#include <test/fuzz/util/descriptor.h>
|
||||||
|
|
||||||
|
#include <key.h>
|
||||||
|
#include <key_io.h>
|
||||||
|
#include <pubkey.h>
|
||||||
|
#include <util/strencodings.h>
|
||||||
|
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include <stack>
|
#include <stack>
|
||||||
|
|
||||||
|
|||||||
@@ -5,18 +5,20 @@
|
|||||||
#ifndef BITCOIN_TEST_FUZZ_UTIL_DESCRIPTOR_H
|
#ifndef BITCOIN_TEST_FUZZ_UTIL_DESCRIPTOR_H
|
||||||
#define BITCOIN_TEST_FUZZ_UTIL_DESCRIPTOR_H
|
#define BITCOIN_TEST_FUZZ_UTIL_DESCRIPTOR_H
|
||||||
|
|
||||||
#include <key_io.h>
|
#include <array>
|
||||||
#include <util/strencodings.h>
|
#include <cinttypes>
|
||||||
#include <script/descriptor.h>
|
#include <cstddef>
|
||||||
#include <test/fuzz/fuzz.h>
|
#include <limits>
|
||||||
|
#include <optional>
|
||||||
#include <functional>
|
#include <span>
|
||||||
|
#include <string>
|
||||||
|
#include <string_view>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a mocked descriptor string to a valid one. Every key in a mocked descriptor key is
|
* Converts a mocked descriptor string to a valid one. Every key in a mocked descriptor is
|
||||||
* represented by 2 hex characters preceded by the '%' character. We parse the two hex characters
|
* represented by 2 hex characters preceded by the '%' character. We parse the two hex characters
|
||||||
* as an index in a list of pre-generated keys. This list contains keys of the various types
|
* as an index in a list of pre-generated keys. This list contains keys of the various types
|
||||||
* accepted in descriptor keys expressions.
|
* accepted in descriptor key expressions.
|
||||||
*/
|
*/
|
||||||
class MockedDescriptorConverter {
|
class MockedDescriptorConverter {
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in new issue
Block a user