Skip to main content

CashVM

bitcoin-cash · protocol · smart-contract

An ecosystem name for the stack-based virtual machine that evaluates Bitcoin Cash spending bytecode.

Also known as
Bitcoin Cash VM, Bitcoin Cash Virtual Machine
1.general

CashVM is a common name for the Bitcoin Script-derived virtual machine used when Bitcoin Cash nodes validate transaction inputs. It evaluates stack-based unlocking and locking bytecode under the consensus rules active for that block.

2.model

Execution is tied to spending UTXOs rather than updating a shared contract account. Available operations can inspect specified parts of the spending transaction, check signatures and hashes, perform arithmetic, and enforce conditions within defined resource limits.

3.limits

CashVM is deterministic validation machinery, not a persistent application server. Contracts must encode state in transaction outputs and remain within bytecode, operation, signature-check, and other consensus or relay-policy limits that can vary by network upgrade.

Bitcoin Cash protocol documentation: Script

Related terms

All terms and definitions may update as the Cryptionary improves.