Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ScriptFromHex
Function
ScriptFromHex
src/test/script_tests.cpp:1387–1391 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1385
}
1386
1387
static CScript ScriptFromHex(const std::string& str)
1388
{
1389
std::vector<unsigned char> data = ParseHex(str);
1390
return CScript(data.begin(), data.end());
1391
}
1392
1393
BOOST_AUTO_TEST_CASE(script_FindAndDelete)
1394
{
Callers
2
BOOST_AUTO_TEST_CASE
Function · 0.70
AssetTest
Function · 0.70
Calls
4
ParseHex
Function · 0.85
CScript
Class · 0.50
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected