Bitcoin Core 28.99.0
P2P Digital Currency
|
Go to the source code of this file.
Functions | |
bool | HasDeepDerivPath (const FuzzBufferType &buff, const int max_depth) |
Whether the buffer, if it represents a valid descriptor, contains a derivation path deeper than a given maximum depth. More... | |
bool | HasTooManySubFrag (const FuzzBufferType &buff, const int max_subs, const size_t max_nested_subs) |
Whether the buffer, if it represents a valid descriptor, contains a fragment with more sub-fragments than the given maximum. More... | |
bool | HasTooManyWrappers (const FuzzBufferType &buff, const int max_wrappers) |
Whether the buffer, if it represents a valid descriptor, contains a fragment with more wrappers than the given maximum. 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 77 of file descriptor.cpp.
bool HasTooManySubFrag | ( | const FuzzBufferType & | buff, |
const int | max_subs, | ||
const size_t | max_nested_subs | ||
) |
Whether the buffer, if it represents a valid descriptor, contains a fragment with more sub-fragments than the given maximum.
Definition at line 91 of file descriptor.cpp.
bool HasTooManyWrappers | ( | const FuzzBufferType & | buff, |
const int | max_wrappers | ||
) |
Whether the buffer, if it represents a valid descriptor, contains a fragment with more wrappers than the given maximum.
Definition at line 115 of file descriptor.cpp.