MCPcopy 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
29func (s *stack) push(v Item) {
30 *s = append(*s, v)
31}
32
33func (s *stack) pop() (Item, bool) {
34 res, ok := s.peek(0)

Callers 2

opDepthFunction · 0.45
opPeekFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected