MCPcopy Index your code
hub / github.com/btcsuite/btcd / Data

Method Data

txscript/tokenizer.go:179–181  ·  view source on GitHub ↗

Data returns the data associated with the most recently successfully parsed opcode.

()

Source from the content-addressed store, hash-verified

177// Data returns the data associated with the most recently successfully parsed
178// opcode.
179func (t *ScriptTokenizer) Data() []byte {
180 return t.data
181}
182
183// Err returns any errors currently associated with the tokenizer. This will
184// only be non-nil in the case a parsing error was encountered.

Callers 15

DisasmPCMethod · 0.80
DisasmScriptMethod · 0.80
StepMethod · 0.80
mergeMultiSigFunction · 0.80
BenchmarkScriptParsingFunction · 0.80
DisasmStringFunction · 0.80
removeOpcodeCanonicalFunction · 0.80
finalOpcodeDataFunction · 0.80
TestHasCanonicalPushFunction · 0.80
TestHasCanonicalPushesFunction · 0.80

Calls

no outgoing calls

Tested by 4

BenchmarkScriptParsingFunction · 0.64
TestHasCanonicalPushFunction · 0.64
TestHasCanonicalPushesFunction · 0.64
TestScriptTokenizerFunction · 0.64