MCPcopy Create free account
hub / github.com/LUX-Core/lux / ToByteVector

Function ToByteVector

src/script/script.h:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40template <typename T>
41std::vector<unsigned char> ToByteVector(const T& in)
42{
43 return std::vector<unsigned char>(in.begin(), in.end());
44}
45
46/** Script opcodes */
47enum opcodetype

Callers 13

CreateNewBlockWithKeyMethod · 0.85
GetScriptForMiningMethod · 0.85
operator()Method · 0.85
GetScriptForMultisigFunction · 0.85
SignStepFunction · 0.85
ProduceSignatureFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
SetupDummyInputsFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
TestBuilderMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 7

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