MCPcopy Create free account
hub / github.com/chain/txvm / IsPushdataOp

Function IsPushdataOp

protocol/txvm/op/op.go:141–143  ·  view source on GitHub ↗

IsPushdataOp tells whether the given opcode is a pushdata instruction.

(o byte)

Source from the content-addressed store, hash-verified

139// IsPushdataOp tells whether the given opcode is a pushdata
140// instruction.
141func IsPushdataOp(o byte) bool {
142 return o >= MinPushdata
143}
144
145// DecodeInst decodes the first instruction in the given program.
146//

Callers 3

stepMethod · 0.92
TraceFunction · 0.92
DisassembleFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected