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

Method Opcode

txscript/tokenizer.go:173–175  ·  view source on GitHub ↗

Opcode returns the current opcode associated with the tokenizer.

()

Source from the content-addressed store, hash-verified

171
172// Opcode returns the current opcode associated with the tokenizer.
173func (t *ScriptTokenizer) Opcode() byte {
174 return t.op.value
175}
176
177// Data returns the data associated with the most recently successfully parsed
178// opcode.

Callers 14

BenchmarkScriptParsingFunction · 0.80
IsPushOnlyScriptFunction · 0.80
removeOpcodeRawFunction · 0.80
removeOpcodeCanonicalFunction · 0.80
countSigOpsV0Function · 0.80
ScriptHasOpSuccessFunction · 0.80
TestHasCanonicalPushFunction · 0.80
TestHasCanonicalPushesFunction · 0.80
isNullDataScriptFunction · 0.80
PushedDataFunction · 0.80

Calls

no outgoing calls

Tested by 4

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