sealed abstract class ScriptGenerators extends BitcoinSLogger

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScriptGenerators
  2. BitcoinSLogger
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def assignedWitnessScriptPubKey: Gen[(WitnessScriptPubKey, Seq[ECPrivateKey])]
  6. def chooseSignedScriptSig: Gen[(ScriptSignature, ScriptPubKey, Seq[ECPrivateKey])]

    This function chooses a random signed ScriptSignature that is NOT a P2SHScriptSignature, CSVScriptSignature, CLTVScriptSignature, or any witness type

    This function chooses a random signed ScriptSignature that is NOT a P2SHScriptSignature, CSVScriptSignature, CLTVScriptSignature, or any witness type

    returns

    the signed ScriptSignature, the ScriptPubKey it is spending, and the sequence of ECPrivateKey used to sign it

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def cltvScriptPubKey(num: ScriptNumber, maxDepth: Int): Gen[(CLTVScriptPubKey, Seq[ECPrivateKey], ScriptNumber)]
  9. def cltvScriptPubKey(maxDepth: Int): Gen[(CLTVScriptPubKey, Seq[ECPrivateKey])]
  10. def cltvScriptPubKey: Gen[(CLTVScriptPubKey, Seq[ECPrivateKey])]
  11. def cltvScriptSignature: Gen[CLTVScriptSignature]
  12. def conditionalScriptPubKey(maxDepth: Int): Gen[(ConditionalScriptPubKey, Seq[ECPrivateKey])]

    Creates a ConditionalScriptPubKey with keys for the true case

    Creates a ConditionalScriptPubKey with keys for the true case

    maxDepth

    The maximum level of nesting allowed within this conditional.

  13. def conditionalScriptSignature: Gen[ConditionalScriptSignature]
  14. def csvScriptPubKey(maxDepth: Int): Gen[(CSVScriptPubKey, Seq[ECPrivateKey])]
  15. def csvScriptPubKey(num: ScriptNumber, maxDepth: Int): Gen[(CSVScriptPubKey, Seq[ECPrivateKey], ScriptNumber)]
  16. def csvScriptPubKey: Gen[(CSVScriptPubKey, Seq[ECPrivateKey])]
  17. def csvScriptSignature: Gen[CSVScriptSignature]
  18. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. val defaultMaxDepth: Int
  22. def emptyScriptPubKey: Gen[(EmptyScriptPubKey.type, Seq[ECPrivateKey])]
  23. def emptyScriptSignature: Gen[EmptyScriptSignature.type]
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  26. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  36. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  37. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  40. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  41. def lockTimeScriptPubKey(maxDepth: Int): Gen[(LockTimeScriptPubKey, Seq[ECPrivateKey])]
  42. def lockTimeScriptSig: Gen[LockTimeScriptSignature]
  43. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  44. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  45. def multiSigScriptPubKey: Gen[(MultiSignatureScriptPubKey, Seq[ECPrivateKey])]
  46. def multiSignatureScriptSignature: Gen[MultiSignatureScriptSignature]
  47. def multiSignatureWithTimeoutScriptPubKey: Gen[(MultiSignatureWithTimeoutScriptPubKey, Seq[ECPrivateKey])]
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. def nonConditionalCltvScriptPubKey(num: ScriptNumber): Gen[(CLTVScriptPubKey, Seq[ECPrivateKey], ScriptNumber)]
  50. def nonConditionalCltvScriptPubKey: Gen[(CLTVScriptPubKey, Seq[ECPrivateKey])]
  51. def nonConditionalCsvScriptPubKey: Gen[(CSVScriptPubKey, Seq[ECPrivateKey])]
  52. def nonConditionalCsvScriptPubKey(num: ScriptNumber): Gen[(CSVScriptPubKey, Seq[ECPrivateKey], ScriptNumber)]
  53. def nonConditionalLockTimeScriptPubKey: Gen[(LockTimeScriptPubKey, Seq[ECPrivateKey])]
  54. def nonConditionalNonLocktimeRawScriptPubKey: Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
  55. def nonConditionalRawScriptPubKey: Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
  56. def nonLockTimeConditionalScriptSignature: Gen[ConditionalScriptSignature]
  57. def nonLocktimeConditionalScriptPubKey(maxDepth: Int): Gen[(ConditionalScriptPubKey, Seq[ECPrivateKey])]

    Creates a ConditionalScriptPubKey with keys for the true case

  58. def nonLocktimeRawScriptPubKey(maxDepth: Int): Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
  59. def nonWitnessScriptPubKey: Gen[(NonWitnessScriptPubKey, Seq[ECPrivateKey])]
  60. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  62. def p2pkScriptPubKey: Gen[(P2PKScriptPubKey, ECPrivateKey)]
  63. def p2pkScriptSignature: Gen[P2PKScriptSignature]
  64. def p2pkWithTimeoutScriptPubKey: Gen[(P2PKWithTimeoutScriptPubKey, Seq[ECPrivateKey])]
  65. def p2pkWithTimeoutScriptSignature: Gen[ConditionalScriptSignature]
  66. def p2pkhScriptPubKey: Gen[(P2PKHScriptPubKey, ECPrivateKey)]
  67. def p2pkhScriptSignature: Gen[P2PKHScriptSignature]
  68. def p2shScriptPubKey: Gen[(P2SHScriptPubKey, Seq[ECPrivateKey], ScriptPubKey)]

    Generates a random P2SHScriptPubKey as well as it's corresponding private keys and redeem script

  69. def p2shScriptSignature: Gen[P2SHScriptSignature]

    Generates a P2SH script signature

    Generates a P2SH script signature

    Note

    the redeem script and the script signature DO NOT evaluate to true if executed by org.bitcoins.core.script.interpreter.ScriptInterpreter

  70. def p2wpkhSPKV0: Gen[(P2WPKHWitnessSPKV0, Seq[ECPrivateKey])]

    Creates a basic version 0 P2WPKH scriptpubkey

  71. def p2wshSPKV0: Gen[(P2WSHWitnessSPKV0, Seq[ECPrivateKey], ScriptPubKey)]

    Generates a random P2WSHWitnessSPKV0 as well as it's corresponding private keys and redeem script

  72. def randomNonLockTimeScriptSig: Gen[ScriptSignature]
  73. def randomNonP2SHScriptPubKey: Gen[(ScriptPubKey, Seq[ECPrivateKey])]
  74. def randomScriptSig: Gen[(ScriptSignature, ScriptPubKey, Seq[ECPrivateKey])]

    Generates a random ScriptSignature, the ScriptPubKey it is spending, and the ECPrivateKey needed to spend it.

  75. def rawScriptPubKey(maxDepth: Int): Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
  76. def rawScriptPubKey: Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
  77. def rawScriptSignature: Gen[ScriptSignature]
  78. def scriptPubKey: Gen[(ScriptPubKey, Seq[ECPrivateKey])]

    Generates an arbitrary ScriptPubKey

  79. def scriptSignature: Gen[ScriptSignature]

    Generates an arbitrary ScriptSignature

  80. def signedCLTVScriptSignature: Gen[(CLTVScriptSignature, CLTVScriptPubKey, Seq[ECPrivateKey])]
  81. def signedCLTVScriptSignature(cltvLockTime: ScriptNumber, lockTime: UInt32, sequence: UInt32): Gen[(CLTVScriptSignature, CLTVScriptPubKey, Seq[ECPrivateKey])]

    returns

    the signed CLTVScriptSignature, the CLTVScriptPubKey it spends, and the sequences of ECPrivateKey used to sign the scriptSig

  82. def signedCSVScriptSignature: Gen[(CSVScriptSignature, CSVScriptPubKey, Seq[ECPrivateKey])]
  83. def signedCSVScriptSignature(csvScriptNum: ScriptNumber, sequence: UInt32): Gen[(CSVScriptSignature, CSVScriptPubKey, Seq[ECPrivateKey])]

    Generates a signed CLTVScriptSignature that spends from a CLTVScriptSignature correctly

    Generates a signed CLTVScriptSignature that spends from a CLTVScriptSignature correctly

    returns

    the signed CSVScriptSignature, the CSVScriptPubKey it spends, and the sequences of ECPrivateKey used to sign the scriptSig

  84. def signedConditionalScriptSignature: Gen[(ConditionalScriptSignature, ConditionalScriptPubKey, Seq[ECPrivateKey])]
  85. def signedLockTimeScriptSignature: Gen[(LockTimeScriptSignature, LockTimeScriptPubKey, Seq[ECPrivateKey])]

    Generates a LockTimeScriptSignature and LockTimeScriptPubKey pair that are valid when run through the interpreter

  86. def signedMultiSignatureScriptSignature: Gen[(MultiSignatureScriptSignature, MultiSignatureScriptPubKey, Seq[ECPrivateKey])]

    Generates a signed MultiSignatureScriptSignature that spends the MultiSignatureScriptPubKey correctly ti

    Generates a signed MultiSignatureScriptSignature that spends the MultiSignatureScriptPubKey correctly ti

    returns

    the signed MultiSignatureScriptSignature, the MultiSignatureScriptPubKey it spends and the sequence of ECPrivateKey used to sign the scriptSig

  87. def signedMultiSignatureWithTimeoutScriptSignature: Gen[(ConditionalScriptSignature, MultiSignatureWithTimeoutScriptPubKey, Seq[ECPrivateKey])]
  88. def signedP2PKHScriptSignature: Gen[(P2PKHScriptSignature, P2PKHScriptPubKey, ECPrivateKey)]

    Generates a signed P2PKHScriptSignature that spends the P2PKHScriptPubKey correctly

    Generates a signed P2PKHScriptSignature that spends the P2PKHScriptPubKey correctly

    returns

    the signed P2PKHScriptSignature, the P2PKHScriptPubKey it spends, and the ECPrivateKey used to sign the scriptSig

  89. def signedP2PKScriptSignature: Gen[(P2PKScriptSignature, P2PKScriptPubKey, ECPrivateKey)]

    Generates a signed P2PKScriptSignature that spends the P2PKScriptPubKey correctly

    Generates a signed P2PKScriptSignature that spends the P2PKScriptPubKey correctly

    returns

    the signed P2PKScriptSignature, the P2PKScriptPubKey it spends, and the ECPrivateKey used to sign the scriptSig

  90. def signedP2PKWithTimeoutScriptSignature: Gen[(ConditionalScriptSignature, P2PKWithTimeoutScriptPubKey, ECPrivateKey)]
  91. def signedP2SHP2WPKHScriptSignature: Gen[(P2SHScriptSignature, P2SHScriptPubKey, Seq[ECPrivateKey], TransactionWitness, CurrencyUnit)]
  92. def signedP2SHP2WSHScriptSignature: Gen[(P2SHScriptSignature, P2SHScriptPubKey, Seq[ECPrivateKey], TransactionWitness, CurrencyUnit)]
  93. def signedP2SHScriptSignature: Gen[(P2SHScriptSignature, P2SHScriptPubKey, Seq[ECPrivateKey])]

    Generates a signed P2SHScriptSignature that spends from a P2SHScriptPubKey correctly

    Generates a signed P2SHScriptSignature that spends from a P2SHScriptPubKey correctly

    returns

    the signed P2SHScriptSignature, the P2SHScriptPubKey it spends, and the sequence of ECPrivateKey used to sign the scriptSig

  94. def smallMultiSigScriptPubKey: Gen[(MultiSignatureScriptPubKey, Seq[ECPrivateKey])]
  95. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  96. val timeout: FiniteDuration
  97. def toString(): String
    Definition Classes
    AnyRef → Any
  98. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  99. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  100. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  101. def unassignedWitnessScriptPubKey: Gen[(UnassignedWitnessScriptPubKey, Seq[ECPrivateKey])]

    Creates an unassigned witness scriptPubKey.

    Creates an unassigned witness scriptPubKey. Currently this is any witness script pubkey besides WitnessScriptPubKeyV0

  102. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  103. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  104. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  105. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  106. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  107. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  108. def witnessCommitment: Gen[(WitnessCommitment, Seq[ECPrivateKey])]
  109. def witnessScriptPubKey: Gen[(WitnessScriptPubKey, Seq[ECPrivateKey])]

    Generates an arbitrary WitnessScriptPubKey

  110. def witnessScriptPubKeyV0: Gen[(WitnessScriptPubKeyV0, Seq[ECPrivateKey])]

Inherited from BitcoinSLogger

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped