Browse Source

Merge pull request #22 from practicalswift/opcodes-documentation

Use consistent opcode naming in documentation of miniscript-opcode mapping
master
Pieter Wuille 5 years ago
committed by GitHub
parent
commit
53d67a28ed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      bitcoin/script/miniscript.h

2
bitcoin/script/miniscript.h

@ -183,7 +183,7 @@ enum class NodeType {
OR_B, //!< [X] [Y] OP_BOOLOR OR_B, //!< [X] [Y] OP_BOOLOR
OR_C, //!< [X] OP_NOTIF [Y] OP_ENDIF OR_C, //!< [X] OP_NOTIF [Y] OP_ENDIF
OR_D, //!< [X] OP_IFDUP OP_NOTIF [Y] OP_ENDIF OR_D, //!< [X] OP_IFDUP OP_NOTIF [Y] OP_ENDIF
OR_I, //!< IF [X] OP_ELSE [Y] OP_ENDIF OR_I, //!< OP_IF [X] OP_ELSE [Y] OP_ENDIF
ANDOR, //!< [X] OP_NOTIF [Z] OP_ELSE [Y] OP_ENDIF ANDOR, //!< [X] OP_NOTIF [Z] OP_ELSE [Y] OP_ENDIF
THRESH, //!< [X1] ([Xn] OP_ADD)* [k] OP_EQUAL THRESH, //!< [X1] ([Xn] OP_ADD)* [k] OP_EQUAL
THRESH_M, //!< [k] [key_n]* [n] OP_CHECKMULTISIG THRESH_M, //!< [k] [key_n]* [n] OP_CHECKMULTISIG

Loading…
Cancel
Save