Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ToByteVector
Function
ToByteVector
src/script/script.h:68–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
67
template <typename T>
68
std::vector<unsigned char> ToByteVector(const T& in)
69
{
70
return std::vector<unsigned char>(in.begin(), in.end());
71
}
72
73
/** Script opcodes */
74
enum opcodetype
Callers
15
ComputeNextBlockFullCurrentParameters
Function · 0.85
ContextualCheckDynaFedHeader
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
MakeScripts
Method · 0.85
operator()
Method · 0.85
GetScriptForMultisig
Function · 0.85
SignStep
Function · 0.85
ProduceSignature
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
create_placeholder_tx
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
BOOST_FIXTURE_TEST_CASE
Function · 0.85
Calls
2
begin
Method · 0.45
end
Method · 0.45
Tested by
15
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
create_placeholder_tx
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_FIXTURE_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_FIXTURE_TEST_CASE
Function · 0.68
BOOST_FIXTURE_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_FIXTURE_TEST_CASE
Function · 0.68
TestBuilder
Method · 0.68