MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / TxFromHex

Function TxFromHex

src/test/script_assets_tests.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44static CMutableTransaction TxFromHex(const std::string& str)
45{
46 CMutableTransaction tx;
47 SpanReader{ParseHex(str)} >> TX_NO_WITNESS(tx);
48 return tx;
49}
50
51static std::vector<CTxOut> TxOutsFromJSON(const UniValue& univalue)
52{

Callers 1

AssetTestFunction · 0.70

Calls 1

ParseHexFunction · 0.85

Tested by

no test coverage detected