Packages

object BitcoinMonitor

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitcoinMonitor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AppliedBitcoinBlock(block: Block, height: Int) extends BitcoinBlockSync with Product with Serializable
  2. trait BitcoinBlockSync extends AnyRef

    A wrapper for a bitcoin Block update.

  3. case class UnappliedBitcoinBlock(block: Block, height: Int) extends BitcoinBlockSync with Product with Serializable

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(bitcoind: BitcoindRpcClient, startBlock: Option[DoubleSha256DigestBE] = None, zmqHost: String = "127.0.0.1", zmqPort: Int = 28332): Resource[IO, Stream[IO, BitcoinBlockSync]]

    Initialize and return a BitcoinMonitor instance.

    Initialize and return a BitcoinMonitor instance.

    bitcoind

    The bitcoind instance to monitor

    startBlock

    The hash of a past block. Used to retroactively report blocks. The bitcoin monitor will report all blocks starting at this block.

    zmqHost

    The host in which the underlying ZmqSubscriber will be connected to. This is used to capture newly minted blocks.

    zmqPort

    The port in which the underlying ZmqSubscriber will be connected to. This is used to capture newly minted blocks.

    returns

    An instance of a BitcoinMonitor

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def initZmqSubscriber(bitcoind: BitcoindRpcClient, host: String, port: Int)(blockQueue: Queue[IO, AppliedBitcoinBlock]): ZMQSubscriber

    Initialize a ZeroMQ subscriber that adds new blocks to a queue

    Initialize a ZeroMQ subscriber that adds new blocks to a queue

    bitcoind

    The bitcoind instance to query additional data

    host

    The host in which the ZmqSubscriber will be connected to

    port

    The port in which the ZmqSubscriber will be connected to

    blockQueue

    The queue to add new blocks to

    returns

    An initialized ZMQSubcriber instance

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. object Bitcoind

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped