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

Method CheckDuplicateKey

src/script/miniscript.h:1693–1693  ·  view source on GitHub ↗

Check whether there is no duplicate key across this fragment and all its sub-fragments.

Source from the content-addressed store, hash-verified

1691
1692 //! Check whether there is no duplicate key across this fragment and all its sub-fragments.
1693 bool CheckDuplicateKey() const { return has_duplicate_keys && !*has_duplicate_keys; }
1694
1695 //! Whether successful non-malleable satisfactions are guaranteed to be valid.
1696 bool ValidSatisfactions() const { return IsValid() && CheckOpsLimit() && CheckStackSize(); }

Callers 2

ParseScriptFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64