Packages

case class RescanStarted(completeRescanEarlyP: Promise[Option[Int]], blocksMatchedF: Future[Vector[BlockMatchingResponse]], recursiveRescanP: Promise[RescanState])(implicit ec: ExecutionContext) extends RescanState with Product with Serializable

Indicates a rescan has bene started The promise completeRescanEarlyP gives us the ability to terminate the rescan early by completing the promise blocksMatchedF is a future that is completed when the rescan is done this returns all blocks that were matched during the rescan. recursiveRescanP If the rescan is continued with a fresh pool of addresses it completes recursiveRescanP with the new RescanState.RescanStarted. If the rescan is done because addressGapLimit is satisfied, recursiveRescanP with RescanState.RescanNotNeeded

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RescanStarted
  2. Serializable
  3. Product
  4. Equals
  5. RescanState
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RescanStarted(completeRescanEarlyP: Promise[Option[Int]], blocksMatchedF: Future[Vector[BlockMatchingResponse]], recursiveRescanP: Promise[RescanState])(implicit ec: ExecutionContext)

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. val blocksMatchedF: Future[Vector[BlockMatchingResponse]]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def entireRescanDoneF: Future[Vector[BlockMatchingResponse]]

    Means the entire rescan is done (including recursive rescans).

    Means the entire rescan is done (including recursive rescans). This future is completed when we rescan filters with addresses do not contain funds within WalletAppConfig.addressGapLimit

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def fail(err: Throwable): Unit

    Fails a rescan with the given exception

  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def isCompletedEarly: Boolean

    Useful for determining if the rescan was completed externally by the promise to terminate the stream or was completed because the rescan was fully executed

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isStopped: Boolean
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. val recursiveRescanP: Promise[RescanState]
  20. def singleRescanDoneF: Future[Vector[BlockMatchingResponse]]

    Means this single rescan is complete, but recursive rescans may not be completed

  21. def stop(): Future[Vector[BlockMatchingResponse]]

    Completes the stream that the rescan in progress uses.

    Completes the stream that the rescan in progress uses. This aborts the rescan early.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RescanState

Inherited from AnyRef

Inherited from Any

Ungrouped