MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / CScriptWitness

Class CScriptWitness

src/script/script.h:562–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560};
561
562struct CScriptWitness
563{
564 // Note that this encodes the data elements being pushed, rather than
565 // encoding them as a CScript that pushes them.
566 std::vector<std::vector<unsigned char> > stack;
567
568 // Some compilers complain without a default constructor
569 CScriptWitness() { }
570
571 bool IsNull() const { return stack.empty(); }
572
573 void SetNull() { stack.clear(); stack.shrink_to_fit(); }
574
575 std::string ToString() const;
576};
577
578class CReserveScript
579{

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.50
TestBuilderMethod · 0.50
BOOST_AUTO_TEST_CASEFunction · 0.50

Calls

no outgoing calls

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.40
TestBuilderMethod · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40