Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
110
func
opDepth(vm *VM) {
111
vm.push(Int(len(vm.argstack)))
112
}
113
114
func
opPeek(vm *VM) {
115
n := int64(vm.popInt())
Callers
nothing calls this directly
Calls
2
Int
TypeAlias · 0.85
push
Method · 0.45
Tested by
no test coverage detected