Bitcoin Core
27.99.0
P2P Digital Currency
|
#include <key_io.h>
#include <util/strencodings.h>
#include <script/descriptor.h>
#include <test/fuzz/fuzz.h>
#include <functional>
Go to the source code of this file.
Classes | |
class | MockedDescriptorConverter |
Converts a mocked descriptor string to a valid one. More... | |
Functions | |
bool | HasDeepDerivPath (const FuzzBufferType &buff, const int max_depth=MAX_DEPTH) |
Whether the buffer, if it represents a valid descriptor, contains a derivation path deeper than a given maximum depth. More... | |
Variables | |
constexpr int | MAX_DEPTH {2} |
Default maximum number of derivation indexes in a single derivation path when limiting its depth. More... | |
bool HasDeepDerivPath | ( | const FuzzBufferType & | buff, |
const int | max_depth = MAX_DEPTH |
||
) |
Whether the buffer, if it represents a valid descriptor, contains a derivation path deeper than a given maximum depth.
Note this may also be hit for deriv paths in origins.
Definition at line 74 of file descriptor.cpp.
|
constexpr |
Default maximum number of derivation indexes in a single derivation path when limiting its depth.
Definition at line 50 of file descriptor.h.