Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ push
Method
push
protocol/txvm/stack.go:29–31 ·
view source on GitHub ↗
(v Item)
Source
from the content-addressed store, hash-verified
27
}
28
29
func
(s *stack) push(v Item) {
30
*s = append(*s, v)
31
}
32
33
func
(s *stack) pop() (Item, bool) {
34
res, ok := s.peek(0)
Callers
2
opDepth
Function · 0.45
opPeek
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected