object NumberGenerator extends NumberGenerator

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumberGenerator
  2. NumberGenerator
  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 bigInts: Gen[BigInt]

    Chooses a BigInt in the ranges of 0 <= bigInt < 2^^64

    Chooses a BigInt in the ranges of 0 <= bigInt < 2^^64

    Definition Classes
    NumberGenerator
  6. def bigIntsUInt64Range: Gen[BigInt]
    Definition Classes
    NumberGenerator
  7. def bigSizeUInt: Gen[BigSizeUInt]
    Definition Classes
    NumberGenerator
  8. def bitVector: Gen[BitVector]

    Generates a bit vector

    Generates a bit vector

    Definition Classes
    NumberGenerator
  9. def bool: Gen[Boolean]

    Generates a random boolean

    Generates a random boolean

    Definition Classes
    NumberGenerator
  10. def byte: Gen[Byte]

    Generates an arbitrary Byte in Scala

    Generates an arbitrary Byte in Scala

    Definition Classes
    NumberGenerator
  11. def bytes(num: Int): Gen[List[Byte]]

    Generates the number of bytes specified by num

    Generates the number of bytes specified by num

    Definition Classes
    NumberGenerator
  12. def bytes: Gen[List[Byte]]

    Generates a 100 byte sequence

    Generates a 100 byte sequence

    Definition Classes
    NumberGenerator
  13. def bytevector(length: Int): Gen[ByteVector]
    Definition Classes
    NumberGenerator
  14. def bytevector: Gen[ByteVector]

    Generates an arbitrary ByteVector

    Generates an arbitrary ByteVector

    Definition Classes
    NumberGenerator
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. def compactSizeUInts: Gen[CompactSizeUInt]
    Definition Classes
    NumberGenerator
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. def genP: Gen[UInt8]

    Generates a random GCS P parameter.

    Generates a random GCS P parameter.

    Bit parameter for GCS, cannot be more than 32 as we will have a number too large for a UInt64.

    Definition Classes
    NumberGenerator
    See also

    https://github.com/Roasbeef/btcutil/blob/b5d74480bb5b02a15a9266cbeae37ecf9dd6ffca/gcs/gcs.go#L67

  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def int32s: Gen[Int32]
    Definition Classes
    NumberGenerator
  24. def int64s: Gen[Int64]
    Definition Classes
    NumberGenerator
  25. val ints: Gen[Int]

    Random integers

    Random integers

    Definition Classes
    NumberGenerator
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. val negativeInts: Gen[Int]

    Integers between Int.MinValue and -1

    Integers between Int.MinValue and -1

    Definition Classes
    NumberGenerator
  29. def negativeLongs: Gen[Long]

    Creates a number generator that generates negative long numbers

    Creates a number generator that generates negative long numbers

    Definition Classes
    NumberGenerator
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def positiveBigInts: Gen[BigInt]
    Definition Classes
    NumberGenerator
  33. val positiveInts: Gen[Int]

    Integers between 0 and Int.MaxValue

    Integers between 0 and Int.MaxValue

    Definition Classes
    NumberGenerator
  34. def positiveLongs: Gen[Long]

    Creates a generator that generates positive long numbers

    Creates a generator that generates positive long numbers

    Definition Classes
    NumberGenerator
  35. def positiveLongsNoZero: Gen[Long]

    Creates a generator for positive longs without the number zero

    Creates a generator for positive longs without the number zero

    Definition Classes
    NumberGenerator
  36. def positiveScriptNumbers: Gen[ScriptNumber]
    Definition Classes
    NumberGenerator
  37. def positiveShort: Gen[Short]
    Definition Classes
    NumberGenerator
  38. def scriptNumbers: Gen[ScriptNumber]
    Definition Classes
    NumberGenerator
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def timeLockScriptNumbers: Gen[ScriptNumber]

    The policy bounds for nTimeLock fields (see TxBuilder)

    The policy bounds for nTimeLock fields (see TxBuilder)

    Definition Classes
    NumberGenerator
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def uInt16: Gen[UInt16]
    Definition Classes
    NumberGenerator
  43. def uInt32s: Gen[UInt32]

    Generates a number in the range 0 <= x <= 2 ^^32 - 1 then wraps it in a UInt32

    Generates a number in the range 0 <= x <= 2 ^^32 - 1 then wraps it in a UInt32

    Definition Classes
    NumberGenerator
  44. def uInt5: Gen[UInt5]
    Definition Classes
    NumberGenerator
  45. def uInt5s: Gen[Seq[UInt5]]
    Definition Classes
    NumberGenerator
  46. def uInt64: Gen[UInt64]
    Definition Classes
    NumberGenerator
  47. def uInt64s: Gen[UInt64]

    Generates a number in the range 0 <= x < 2^^64 then wraps it in a UInt64

    Generates a number in the range 0 <= x < 2^^64 then wraps it in a UInt64

    Definition Classes
    NumberGenerator
  48. def uInt8: Gen[UInt8]
    Definition Classes
    NumberGenerator
  49. def uInt8s: Gen[Seq[UInt8]]
    Definition Classes
    NumberGenerator
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from NumberGenerator

Inherited from AnyRef

Inherited from Any

Ungrouped