object ScriptGenerators extends ScriptGenerators

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScriptGenerators
  2. ScriptGenerators
  3. AnyRef
  4. 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])]
    Definition Classes
    ScriptGenerators
  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

    Definition Classes
    ScriptGenerators
  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)]
    Definition Classes
    ScriptGenerators
  9. def cltvScriptPubKey(maxDepth: Int): Gen[(CLTVScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  10. def cltvScriptPubKey: Gen[(CLTVScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  11. def cltvScriptSignature: Gen[CLTVScriptSignature]
    Definition Classes
    ScriptGenerators
  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.

    Definition Classes
    ScriptGenerators
  13. def conditionalScriptSignature: Gen[ConditionalScriptSignature]
    Definition Classes
    ScriptGenerators
  14. def csvScriptPubKey(maxDepth: Int): Gen[(CSVScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  15. def csvScriptPubKey(num: ScriptNumber, maxDepth: Int): Gen[(CSVScriptPubKey, Seq[ECPrivateKey], ScriptNumber)]
    Definition Classes
    ScriptGenerators
  16. def csvScriptPubKey: Gen[(CSVScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  17. def csvScriptSignature: Gen[CSVScriptSignature]
    Definition Classes
    ScriptGenerators
  18. val defaultMaxDepth: Int
    Definition Classes
    ScriptGenerators
  19. def emptyScriptPubKey: Gen[(EmptyScriptPubKey.type, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  20. def emptyScriptSignature: Gen[EmptyScriptSignature.type]
    Definition Classes
    ScriptGenerators
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def lockTimeScriptPubKey(maxDepth: Int): Gen[(LockTimeScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  28. def lockTimeScriptSig: Gen[LockTimeScriptSignature]
    Definition Classes
    ScriptGenerators
  29. def multiSigScriptPubKey: Gen[(MultiSignatureScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  30. def multiSignatureScriptSignature: Gen[MultiSignatureScriptSignature]
    Definition Classes
    ScriptGenerators
  31. def multiSignatureWithTimeoutScriptPubKey: Gen[(MultiSignatureWithTimeoutScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def nonConditionalCltvScriptPubKey(num: ScriptNumber): Gen[(CLTVScriptPubKey, Seq[ECPrivateKey], ScriptNumber)]
    Definition Classes
    ScriptGenerators
  34. def nonConditionalCltvScriptPubKey: Gen[(CLTVScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  35. def nonConditionalCsvScriptPubKey: Gen[(CSVScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  36. def nonConditionalCsvScriptPubKey(num: ScriptNumber): Gen[(CSVScriptPubKey, Seq[ECPrivateKey], ScriptNumber)]
    Definition Classes
    ScriptGenerators
  37. def nonConditionalLockTimeScriptPubKey: Gen[(LockTimeScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  38. def nonConditionalNonLocktimeRawScriptPubKey: Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  39. def nonConditionalRawScriptPubKey: Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  40. def nonLockTimeConditionalScriptSignature: Gen[ConditionalScriptSignature]
    Definition Classes
    ScriptGenerators
  41. def nonLocktimeConditionalScriptPubKey(maxDepth: Int): Gen[(ConditionalScriptPubKey, Seq[ECPrivateKey])]

    Creates a ConditionalScriptPubKey with keys for the true case

    Creates a ConditionalScriptPubKey with keys for the true case

    Definition Classes
    ScriptGenerators
  42. def nonLocktimeRawScriptPubKey(maxDepth: Int): Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  43. def nonWitnessScriptPubKey: Gen[(NonWitnessScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. def p2pkScriptPubKey: Gen[(P2PKScriptPubKey, ECPrivateKey)]
    Definition Classes
    ScriptGenerators
  47. def p2pkScriptSignature: Gen[P2PKScriptSignature]
    Definition Classes
    ScriptGenerators
  48. def p2pkWithTimeoutScriptPubKey: Gen[(P2PKWithTimeoutScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  49. def p2pkWithTimeoutScriptSignature: Gen[ConditionalScriptSignature]
    Definition Classes
    ScriptGenerators
  50. def p2pkhScriptPubKey: Gen[(P2PKHScriptPubKey, ECPrivateKey)]
    Definition Classes
    ScriptGenerators
  51. def p2pkhScriptSignature: Gen[P2PKHScriptSignature]
    Definition Classes
    ScriptGenerators
  52. def p2shScriptPubKey: Gen[(P2SHScriptPubKey, Seq[ECPrivateKey], ScriptPubKey)]

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

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

    Definition Classes
    ScriptGenerators
  53. def p2shScriptSignature: Gen[P2SHScriptSignature]

    Generates a P2SH script signature

    Generates a P2SH script signature

    Definition Classes
    ScriptGenerators
    Note

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

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

    Creates a basic version 0 P2WPKH scriptpubkey

    Creates a basic version 0 P2WPKH scriptpubkey

    Definition Classes
    ScriptGenerators
  55. def p2wshSPKV0: Gen[(P2WSHWitnessSPKV0, Seq[ECPrivateKey], ScriptPubKey)]

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

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

    Definition Classes
    ScriptGenerators
  56. def randomNonLockTimeScriptSig: Gen[ScriptSignature]
    Definition Classes
    ScriptGenerators
  57. def randomNonP2SHScriptPubKey: Gen[(ScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  58. def randomScriptSig: Gen[(ScriptSignature, ScriptPubKey, Seq[ECPrivateKey])]

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

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

    Definition Classes
    ScriptGenerators
  59. def rawScriptPubKey(maxDepth: Int): Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  60. def rawScriptPubKey: Gen[(RawScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  61. def rawScriptSignature: Gen[ScriptSignature]
    Definition Classes
    ScriptGenerators
  62. def scriptPubKey: Gen[(ScriptPubKey, Seq[ECPrivateKey])]

    Generates an arbitrary ScriptPubKey

    Generates an arbitrary ScriptPubKey

    Definition Classes
    ScriptGenerators
  63. def scriptSignature: Gen[ScriptSignature]

    Generates an arbitrary ScriptSignature

    Generates an arbitrary ScriptSignature

    Definition Classes
    ScriptGenerators
  64. def signedCLTVScriptSignature: Gen[(CLTVScriptSignature, CLTVScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  65. 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

    Definition Classes
    ScriptGenerators
  66. def signedCSVScriptSignature: Gen[(CSVScriptSignature, CSVScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  67. 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

    Definition Classes
    ScriptGenerators
  68. def signedConditionalScriptSignature: Gen[(ConditionalScriptSignature, ConditionalScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  69. def signedLockTimeScriptSignature: Gen[(LockTimeScriptSignature, LockTimeScriptPubKey, Seq[ECPrivateKey])]

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

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

    Definition Classes
    ScriptGenerators
  70. 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

    Definition Classes
    ScriptGenerators
  71. def signedMultiSignatureWithTimeoutScriptSignature: Gen[(ConditionalScriptSignature, MultiSignatureWithTimeoutScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  72. 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

    Definition Classes
    ScriptGenerators
  73. 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

    Definition Classes
    ScriptGenerators
  74. def signedP2PKWithTimeoutScriptSignature: Gen[(ConditionalScriptSignature, P2PKWithTimeoutScriptPubKey, ECPrivateKey)]
    Definition Classes
    ScriptGenerators
  75. def signedP2SHP2WPKHScriptSignature: Gen[(P2SHScriptSignature, P2SHScriptPubKey, Seq[ECPrivateKey], TransactionWitness, CurrencyUnit)]
    Definition Classes
    ScriptGenerators
  76. def signedP2SHP2WSHScriptSignature: Gen[(P2SHScriptSignature, P2SHScriptPubKey, Seq[ECPrivateKey], TransactionWitness, CurrencyUnit)]
    Definition Classes
    ScriptGenerators
  77. 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

    Definition Classes
    ScriptGenerators
  78. def smallMultiSigScriptPubKey: Gen[(MultiSignatureScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  79. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  80. val timeout: FiniteDuration
    Definition Classes
    ScriptGenerators
  81. def toString(): String
    Definition Classes
    AnyRef → Any
  82. 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

    Definition Classes
    ScriptGenerators
  83. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  84. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  85. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  86. def witnessCommitment: Gen[(WitnessCommitment, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  87. def witnessScriptPubKey: Gen[(WitnessScriptPubKey, Seq[ECPrivateKey])]

    Generates an arbitrary WitnessScriptPubKey

    Generates an arbitrary WitnessScriptPubKey

    Definition Classes
    ScriptGenerators
  88. def witnessScriptPubKeyV0: Gen[(WitnessScriptPubKeyV0, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators
  89. def witnessScriptPubKeyV1: Gen[(TaprootScriptPubKey, Seq[ECPrivateKey])]
    Definition Classes
    ScriptGenerators

Inherited from ScriptGenerators

Inherited from AnyRef

Inherited from Any

Ungrouped