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

Method String

txscript/pkscript.go:173–176  ·  view source on GitHub ↗

String returns a hex-encoded string representation of the script.

()

Source from the content-addressed store, hash-verified

171
172// String returns a hex-encoded string representation of the script.
173func (s PkScript) String() string {
174 str, _ := DisasmString(s.Script())
175 return str
176}
177
178// ComputePkScript computes the script of an output by looking at the spending
179// input's signature script or witness.

Callers

nothing calls this directly

Calls 2

ScriptMethod · 0.95
DisasmStringFunction · 0.85

Tested by

no test coverage detected