MCPcopy Create free account
hub / github.com/citp/BlockSci / getScriptView

Method getScriptView

tools/parser/preproccessed_block.hpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 #endif
116
117 blocksci::CScriptView getScriptView() const {
118 if (scriptLength == 0) {
119 return blocksci::CScriptView(scriptBytes.data(), scriptBytes.data() + scriptBytes.size());
120 } else {
121 return blocksci::CScriptView(scriptBegin, scriptBegin + scriptLength);
122 }
123 }
124};
125
126struct TransactionHeader {

Callers

nothing calls this directly

Calls 2

CScriptViewClass · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected