Module bitcoin::blockdata::opcodes

source ·
Expand description

Bitcoin script opcodes.

Bitcoin’s script uses a stack-based assembly language. This module defines all of the opcodes for that language.

Modules

  • Enables wildcard imports to bring into scope all opcodes and nothing else.

Structs

  • A script Opcode.

Enums

  • Broad categories of opcodes with similar behavior.
  • Classification context for the opcode.

Statics

  • Push an empty array onto the stack.
  • Empty stack is also FALSE.
  • Previously called OP_NOP2.
  • Previously called OP_NOP3.
  • Number 1 is also TRUE.