Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ opAnd
Function
opAnd
protocol/txvm/boolean.go:8–12 ·
view source on GitHub ↗
(vm *VM)
Source
from the content-addressed store, hash-verified
6
}
7
8
func
opAnd(vm *VM) {
9
q := vm.popBool()
10
p := vm.popBool()
11
vm.pushBool(p && q)
12
}
13
14
func
opOr(vm *VM) {
15
q := vm.popBool()
Callers
nothing calls this directly
Calls
2
popBool
Method · 0.80
pushBool
Method · 0.80
Tested by
no test coverage detected