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

Function isScriptHashScript

txscript/standard.go:211–213  ·  view source on GitHub ↗

isScriptHashScript returns whether or not the passed script is a standard pay-to-script-hash script.

(script []byte)

Source from the content-addressed store, hash-verified

209// isScriptHashScript returns whether or not the passed script is a standard
210// pay-to-script-hash script.
211func isScriptHashScript(script []byte) bool {
212 return extractScriptHash(script) != nil
213}
214
215// multiSigDetails houses details extracted from a standard multisig script.
216type multiSigDetails struct {

Callers 5

NewEngineFunction · 0.85
IsPayToScriptHashFunction · 0.85
GetPreciseSigOpCountFunction · 0.85
GetWitnessSigOpCountFunction · 0.85
typeOfScriptFunction · 0.85

Calls 1

extractScriptHashFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…