mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
iwyu: Fix includes for test/fuzz/util/descriptor module
Also, fix a typo.
This commit is contained in:
parent
2d380aee43
commit
fa90786478
@ -4,6 +4,11 @@
|
||||
|
||||
#include <test/fuzz/util/descriptor.h>
|
||||
|
||||
#include <key.h>
|
||||
#include <key_io.h>
|
||||
#include <pubkey.h>
|
||||
#include <util/strencodings.h>
|
||||
|
||||
#include <ranges>
|
||||
#include <stack>
|
||||
|
||||
|
||||
@ -5,18 +5,20 @@
|
||||
#ifndef BITCOIN_TEST_FUZZ_UTIL_DESCRIPTOR_H
|
||||
#define BITCOIN_TEST_FUZZ_UTIL_DESCRIPTOR_H
|
||||
|
||||
#include <key_io.h>
|
||||
#include <util/strencodings.h>
|
||||
#include <script/descriptor.h>
|
||||
#include <test/fuzz/fuzz.h>
|
||||
|
||||
#include <functional>
|
||||
#include <array>
|
||||
#include <cinttypes>
|
||||
#include <cstddef>
|
||||
#include <limits>
|
||||
#include <optional>
|
||||
#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
|
||||
* 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 {
|
||||
private:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user