MCPcopy Create free account
hub / github.com/chain/txvm / opDepth

Function opDepth

protocol/txvm/stack.go:110–112  ·  view source on GitHub ↗
(vm *VM)

Source from the content-addressed store, hash-verified

108}
109
110func opDepth(vm *VM) {
111 vm.push(Int(len(vm.argstack)))
112}
113
114func opPeek(vm *VM) {
115 n := int64(vm.popInt())

Callers

nothing calls this directly

Calls 2

IntTypeAlias · 0.85
pushMethod · 0.45

Tested by

no test coverage detected