MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsValid

Method IsValid

src/script/standard.h:369–369  ·  view source on GitHub ↗

Return true if so far all input was valid. */

Source from the content-addressed store, hash-verified

367
368 /** Return true if so far all input was valid. */
369 bool IsValid() const { return m_valid; }
370 /** Return whether there were either no leaves, or the leaves form a Huffman tree. */
371 bool IsComplete() const { return m_valid && (m_branch.size() == 0 || (m_branch.size() == 1 && m_branch[0].has_value())); }
372 /** Compute scriptPubKey (after Finalize()). */

Callers 15

GetOldestKeyTimeInPoolFunction · 0.45
ReserveKeyFromKeyPoolMethod · 0.45
spend.cppFile · 0.45
SignPSBTMethod · 0.45
ComputeBlindingDataMethod · 0.45
GetBlindingKeyMethod · 0.45
GetBlindingPubKeyMethod · 0.45
walletdb.cppFile · 0.45
PollutePubKeyFunction · 0.45
importprivkeyFunction · 0.45
importwalletFunction · 0.45
ProcessImportLegacyFunction · 0.45

Calls

no outgoing calls

Tested by 15

PollutePubKeyFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36