MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / ToByteVector

Function ToByteVector

src/script/script.h:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26template <typename T>
27std::vector<unsigned char> ToByteVector(const T& in)
28{
29 return std::vector<unsigned char>(in.begin(), in.end());
30}
31
32/** Script opcodes */
33enum opcodetype

Callers 10

CreateNewBlockWithKeyFunction · 0.85
operator()Method · 0.85
GetScriptForMultisigFunction · 0.85
SignStepFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
SetupDummyInputsFunction · 0.85
TestBuilderMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 6

BOOST_AUTO_TEST_CASEFunction · 0.68
SetupDummyInputsFunction · 0.68
TestBuilderMethod · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68