Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/copernet/copernicus
/ Size
Method
Size
model/script/script.go:736–738 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
734
}
735
736
func
(s *Script) Size() int {
737
return
len(s.data)
738
}
739
740
func
(s *Script) IsEqual(script2 *Script) bool {
741
return
bytes.Equal(s.data, script2.data)
Callers
7
IsCommitment
Method · 0.95
CheckScriptSigStandard
Method · 0.95
IsUnspendable
Method · 0.95
DynamicMemoryUsage
Method · 0.45
IsStandard
Method · 0.45
Serialize
Method · 0.45
CheckCoinbaseTransaction
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected