Packages

object BloomFilter extends Factory[BloomFilter] with BitcoinSLogger

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BloomFilter
  2. BitcoinSLogger
  3. Logging
  4. Factory
  5. AnyRef
  6. 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. def apply(filterSize: CompactSizeUInt, data: ByteVector, hashFuncs: UInt32, tweak: UInt32, flags: BloomFlag): BloomFilter
  5. def apply(numElements: Int, falsePositiveRate: Double, tweak: UInt32, flags: BloomFlag): BloomFilter

    Creates a bloom filter based on the number of elements to be inserted into the filter and the desired false positive rate.

    Creates a bloom filter based on the number of elements to be inserted into the filter and the desired false positive rate.

    tweak

    A random value that only acts to randomize the filter and increase privacy

    See also

    BIP37

  6. def apply(numElements: Int, falsePositiveRate: Double, flags: BloomFlag): BloomFilter

    Creates a bloom filter based on the number of elements to be inserted into the filter and the desired false positive rate.

    Creates a bloom filter based on the number of elements to be inserted into the filter and the desired false positive rate.

    See also

    BIP37

  7. def apply(hex: String): BloomFilter

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  8. def apply(bytes: ByteVector): BloomFilter

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  12. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  13. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  14. val empty: BloomFilter
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def fromBytes(bytes: ByteVector): BloomFilter

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    BloomFilterFactory
  22. def fromBytesLE(bytes: ByteVector): BloomFilter

    Creates a T out of a sequence of bytes in little endian.

    Creates a T out of a sequence of bytes in little endian.

    Definition Classes
    Factory
  23. def fromBytesOpt(bytes: ByteVector): Option[BloomFilter]

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Definition Classes
    Factory
  24. def fromBytesT(bytes: ByteVector): Try[BloomFilter]

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Definition Classes
    Factory
  25. def fromHex(hex: String): BloomFilter

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  26. def fromHexLE(hex: String): BloomFilter

    Creates a T out of a hex string in little endian.

    Creates a T out of a hex string in little endian.

    Definition Classes
    Factory
  27. def fromHexOpt(hex: String): Option[BloomFilter]

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Definition Classes
    Factory
  28. def fromHexT(hex: String): Try[BloomFilter]

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Definition Classes
    Factory
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  35. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  36. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  39. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  40. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  41. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  42. val maxHashFuncs: UInt32

    Max hashFunc size as per https://bitcoin.org/en/developer-reference#filterload

  43. val maxSize: UInt32

    Max bloom filter size as per https://bitcoin.org/en/developer-reference#filterload

  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. implicit def self: Factory[BloomFilter]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  56. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging

Inherited from BitcoinSLogger

Inherited from Logging

Inherited from Factory[BloomFilter]

Inherited from AnyRef

Inherited from Any

Ungrouped