MCPcopy Create free account
hub / github.com/copernet/copernicus / GetData

Method GetData

model/script/script.go:305–307  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303}
304
305func (s *Script) GetData() []byte {
306 return s.data
307}
308
309func (s *Script) GetBadOpCode() bool {
310 return s.badOpCode

Callers 15

DisplayCoinMapFunction · 0.80
DeepCopyMethod · 0.80
TestScript_PushInt64Function · 0.80
TestNewTxInFunction · 0.80
TestTxInSerializeFunction · 0.80
StringMethod · 0.80
StringMethod · 0.80
NewTxOutFunction · 0.80
TestNewTxOutFunction · 0.80
TestSerializeFunction · 0.80
isToKeyIDMethod · 0.80
isToScriptIDMethod · 0.80

Calls

no outgoing calls

Tested by 10

TestScript_PushInt64Function · 0.64
TestNewTxInFunction · 0.64
TestTxInSerializeFunction · 0.64
TestNewTxOutFunction · 0.64
TestSerializeFunction · 0.64
TestSignStepP2SHFunction · 0.64
TestInsertTxOutFunction · 0.64
checkFunction · 0.64
TestCombineSignatureFunction · 0.64