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

Method PushdataBytes

protocol/txvm/txvmutil/builder.go:31–34  ·  view source on GitHub ↗

PushdataBytes writes instructions to b, pushing data onto the stack.

(data []byte)

Source from the content-addressed store, hash-verified

29// PushdataBytes writes instructions to b,
30// pushing data onto the stack.
31func (b *Builder) PushdataBytes(data []byte) *Builder {
32 writePushdata(&b.buf, data)
33 return b
34}
35
36// PushdataByte writes instructions to b,
37// pushing byt onto the stack.

Callers 6

materializeTxMethod · 0.95
TxMethod · 0.95
VerifyTxIDFunction · 0.95
issueFunction · 0.95
PushdataBytesMethod · 0.45
SnapshotFunction · 0.45

Calls 1

writePushdataFunction · 0.70

Tested by

no test coverage detected