Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/copernet/copernicus
/ Empty
Method
Empty
util/stack.go:11–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
}
10
11
func
(s *Stack) Empty() bool {
12
return
len(s.array) == 0
13
}
14
15
func
(s *Stack) Push(value
interface
{}) {
16
s.array = append(s.array, value)
Callers
7
VerifyScript
Function · 0.95
EvalScript
Function · 0.95
AreInputsStandard
Function · 0.95
TestStack
Function · 0.95
TestSwapStack
Function · 0.95
TestProcessTransaction
Function · 0.80
TestProcessTransactionNormal
Function · 0.80
Calls
no outgoing calls
Tested by
4
TestStack
Function · 0.76
TestSwapStack
Function · 0.76
TestProcessTransaction
Function · 0.64
TestProcessTransactionNormal
Function · 0.64