MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsRange

Method IsRange

src/script/descriptor.cpp:904–913  ·  view source on GitHub ↗

NOLINTNEXTLINE(misc-no-recursion)

Source from the content-addressed store, hash-verified

902
903 // NOLINTNEXTLINE(misc-no-recursion)
904 bool IsRange() const final
905 {
906 for (const auto& pubkey : m_pubkey_args) {
907 if (pubkey->IsRange()) return true;
908 }
909 for (const auto& arg : m_subdescriptor_args) {
910 if (arg->IsRange()) return true;
911 }
912 return false;
913 }
914
915 // NOLINTNEXTLINE(misc-no-recursion)
916 virtual bool ToStringSubScriptHelper(const SigningProvider* arg, std::string& ret, const StringType type, const DescriptorCache* cache = nullptr) const

Callers 11

IsRangeMethod · 0.45
MuSigPubkeyProviderMethod · 0.45
ParsePubkeyFunction · 0.45
ParseScriptFunction · 0.45
DoCheckFunction · 0.45
TestDescriptorFunction · 0.45
ImportDescriptorsMethod · 0.45
getScriptFromDescriptorFunction · 0.45
getdescriptorinfoFunction · 0.45
deriveaddressesFunction · 0.45

Calls

no outgoing calls

Tested by 3

DoCheckFunction · 0.36
TestDescriptorFunction · 0.36
ImportDescriptorsMethod · 0.36