Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/copernet/copernicus
/ PushData
Method
PushData
model/script/script.go:830–833 ·
view source on GitHub ↗
(data []byte)
Source
from the content-addressed store, hash-verified
828
}
829
830
func
(s *Script) PushData(data []byte) error {
831
s.data = append(s.data, data...)
832
return
s.convertOPS()
833
}
834
835
func
(s *Script) PushSingleData(data []byte) error {
836
dataLen := len(data)
Callers
10
CreateNewBlock
Method · 0.80
CoinbaseScriptSig
Function · 0.80
TestScript_IsStandardScriptPubKey_ScriptHash
Function · 0.80
TestScript_IsStandardScriptPubKey_OPRETURNWithData
Function · 0.80
TestScript_IsStandardScriptPubKey_OPCHECKSIG
Function · 0.80
TestScript_IsStandardScriptPubKey_OPCHECKSIGNotStandard
Function · 0.80
TestScript_CheckScriptSigStandard_ScriptPubKeyHash
Function · 0.80
TestScript_IsStandardScriptPubKey_ScriptPubkey
Function · 0.80
Add
Method · 0.80
coinbaseScriptSigWithHeight
Function · 0.80
Calls
1
convertOPS
Method · 0.95
Tested by
8
TestScript_IsStandardScriptPubKey_ScriptHash
Function · 0.64
TestScript_IsStandardScriptPubKey_OPRETURNWithData
Function · 0.64
TestScript_IsStandardScriptPubKey_OPCHECKSIG
Function · 0.64
TestScript_IsStandardScriptPubKey_OPCHECKSIGNotStandard
Function · 0.64
TestScript_CheckScriptSigStandard_ScriptPubKeyHash
Function · 0.64
TestScript_IsStandardScriptPubKey_ScriptPubkey
Function · 0.64
Add
Method · 0.64
coinbaseScriptSigWithHeight
Function · 0.64