Packages

package constant

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait BytesToPushOntoStack extends ScriptOperation

    Created by chris on 1/9/16.

    Created by chris on 1/9/16. Represents a the amount of bytes that need to be pushed onto the stack

  2. sealed abstract class ConstantInterpreter extends AnyRef

    Created by chris on 1/24/16.

  3. sealed abstract class ScriptConstant extends ScriptToken

    A constant in the Script language for instance as String or a number.

  4. sealed abstract class ScriptNumber extends ScriptConstant with Ordered[ScriptNumber]

    Represents a ScriptNumber in the Script language.

  5. sealed abstract class ScriptNumberOperation extends ScriptNumber with ScriptOperation

    Represents a ScriptNumberOperation where the the number in the operation is pushed onto the stack i.e.

    Represents a ScriptNumberOperation where the the number in the operation is pushed onto the stack i.e. OP_0 would be push 0 onto the stack, OP_1 would be push 1 onto the stack.

  6. trait ScriptNumberUtil extends AnyRef

    Created by chris on 6/5/16.

    Created by chris on 6/5/16. Numbers in script are unique in the fact that they don't follow a conventional signed numbering system such as ones complement or twos complement. The bitcoin protocol uses little endian notation which means the most significant bit indicates the sign on the number we are interpreting. The rest of the bits are used to determine what that number is. See this irc log for more info https://botbot.me/freenode/bitcoin-core-dev/2016-06-06/?tz=America/Chicago

  7. trait ScriptOperation extends ScriptToken

    A script operation is an instruction that takes an input and gives an output Think of these as functions.

  8. sealed trait ScriptToken extends NetworkElement

    This is the root class of Script.

    This is the root class of Script. Every element in the Script language is a ScriptToken - think of this the same way you think about Object in Java.

  9. trait StackPushOperationFactory extends AnyRef

    Created by chris on 3/28/16.

Value Members

  1. object BytesToPushOntoStack extends ScriptOperationFactory[BytesToPushOntoStack]
  2. object ConstantInterpreter extends ConstantInterpreter
  3. case object OP_0 extends ScriptNumberOperation with Product with Serializable

    An empty array of bytes is pushed onto the stack.

    An empty array of bytes is pushed onto the stack. (This is not a no-op: an item is added to the stack.)

  4. case object OP_1 extends ScriptNumberOperation with Product with Serializable

    The number 1 is pushed onto the stack.

  5. case object OP_10 extends ScriptNumberOperation with Product with Serializable

    The number 10 is pushed onto the stack.

  6. case object OP_11 extends ScriptNumberOperation with Product with Serializable

    The number 11 is pushed onto the stack.

  7. case object OP_12 extends ScriptNumberOperation with Product with Serializable

    The number 12 is pushed onto the stack.

  8. case object OP_13 extends ScriptNumberOperation with Product with Serializable

    The number 13 is pushed onto the stack.

  9. case object OP_14 extends ScriptNumberOperation with Product with Serializable

    The number 14 is pushed onto the stack.

  10. case object OP_15 extends ScriptNumberOperation with Product with Serializable

    The number 15 is pushed onto the stack.

  11. case object OP_16 extends ScriptNumberOperation with Product with Serializable

    The number 16 is pushed onto the stack.

  12. case object OP_1NEGATE extends ScriptNumberOperation with Product with Serializable

    The number -1 is pushed onto the stack.

  13. case object OP_2 extends ScriptNumberOperation with Product with Serializable

    The number 2 is pushed onto the stack.

  14. case object OP_3 extends ScriptNumberOperation with Product with Serializable

    The number 3 is pushed onto the stack.

  15. case object OP_4 extends ScriptNumberOperation with Product with Serializable

    The number 4 is pushed onto the stack.

  16. case object OP_5 extends ScriptNumberOperation with Product with Serializable

    The number 5 is pushed onto the stack.

  17. case object OP_6 extends ScriptNumberOperation with Product with Serializable

    The number 6 is pushed onto the stack.

  18. case object OP_7 extends ScriptNumberOperation with Product with Serializable

    The number 7 is pushed onto the stack.

  19. case object OP_8 extends ScriptNumberOperation with Product with Serializable

    The number 8 is pushed onto the stack.

  20. case object OP_9 extends ScriptNumberOperation with Product with Serializable

    The number 9 is pushed onto the stack.

  21. case object OP_FALSE extends ScriptNumberOperation with Product with Serializable

    An empty array of bytes is pushed onto the stack.

    An empty array of bytes is pushed onto the stack. (This is not a no-op: an item is added to the stack.)

  22. case object OP_PUSHDATA1 extends ScriptOperation with Product with Serializable

    The next byte contains the number of bytes to be pushed onto the stack.

  23. case object OP_PUSHDATA2 extends ScriptOperation with Product with Serializable

    The next two bytes contain the number of bytes to be pushed onto the stack.

  24. case object OP_PUSHDATA4 extends ScriptOperation with Product with Serializable

    The next four bytes contain the number of bytes to be pushed onto the stack.

  25. case object OP_TRUE extends ScriptNumberOperation with Product with Serializable

    The number 1 is pushed onto the stack.

  26. object ScriptConstant extends Factory[ScriptConstant]
  27. object ScriptNumber extends Factory[ScriptNumber] with NumberCache[ScriptNumber]
  28. object ScriptNumberOperation extends ScriptOperationFactory[ScriptNumberOperation]
  29. object ScriptNumberUtil extends ScriptNumberUtil
  30. object StackPushOperationFactory extends StackPushOperationFactory

Ungrouped