MCPcopy Create free account
hub / github.com/btcsuite/btcd / subScript

Method subScript

txscript/engine.go:1206–1208  ·  view source on GitHub ↗

subScript returns the script since the last OP_CODESEPARATOR.

()

Source from the content-addressed store, hash-verified

1204
1205// subScript returns the script since the last OP_CODESEPARATOR.
1206func (vm *Engine) subScript() []byte {
1207 return vm.scripts[vm.scriptIdx][vm.lastCodeSep:]
1208}
1209
1210// checkHashTypeEncoding returns whether or not the passed hashtype adheres to
1211// the strict encoding requirements if enabled.

Callers 2

newBaseSigVerifierFunction · 0.80
opcodeCheckMultiSigFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected