Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ ScriptFromHex
Function
ScriptFromHex
src/test/script_assets_tests.cpp:39–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
}
38
39
static CScript ScriptFromHex(const std::string& str)
40
{
41
return ToScript(*Assert(TryParseHex(str)));
42
}
43
44
static CMutableTransaction TxFromHex(const std::string& str)
45
{
Callers
1
AssetTest
Function · 0.70
Calls
2
TryParseHex
Function · 0.85
ToScript
Function · 0.70
Tested by
no test coverage detected