Packages

object ChainUnitTest extends ChainVerificationLogger with Serializable

Linear Supertypes
Serializable, ChainVerificationLogger, BitcoinSLogger, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChainUnitTest
  2. Serializable
  3. ChainVerificationLogger
  4. BitcoinSLogger
  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. val FIRST_BLOCK_HEIGHT: Int

    Height of the first block in populated fixtures

  5. val FIRST_POW_CHANGE: Int
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def buildNHeaders(chainHandler: ChainHandler, target: Int)(implicit ec: ExecutionContext, mat: Materializer): Future[Unit]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def createBlockHeaderDAO()(implicit ec: ExecutionContext, appConfig: ChainAppConfig): Future[BlockHeaderDAO]
  10. def createChainApiWithBitcoindRpc(bitcoind: BitcoindRpcClient)(implicit ec: ExecutionContext, chainAppConfig: ChainAppConfig): Future[BitcoindBaseVersionChainHandlerViaRpc]
  11. def createChainHandler()(implicit ec: ExecutionContext, appConfig: ChainAppConfig): Future[ChainHandler]
  12. def createChainHandlerCached()(implicit ec: ExecutionContext, appConfig: ChainAppConfig): Future[ChainHandlerCached]
  13. def createChainStateDescriptorDAO()(implicit ec: ExecutionContext, appConfig: ChainAppConfig): Future[ChainStateDescriptorDAO]
  14. def createFilterDAO()(implicit appConfig: ChainAppConfig, ec: ExecutionContext): Future[CompactFilterDAO]
  15. def createFilterHeaderDAO()(implicit appConfig: ChainAppConfig, ec: ExecutionContext): Future[CompactFilterHeaderDAO]
  16. def createPopulatedBlockHeaderDAO()(implicit appConfig: ChainAppConfig, ec: ExecutionContext): Future[BlockHeaderDAO]

    Creates and populates BlockHeaderTable with block headers 562375 to 571375

  17. def createPopulatedFilterDAO()(implicit appConfig: ChainAppConfig, ec: ExecutionContext): Future[CompactFilterDAO]
  18. def createPopulatedFilterHeaderDAO()(implicit appConfig: ChainAppConfig, ec: ExecutionContext): Future[CompactFilterHeaderDAO]
  19. def destroyAllTables()(implicit appConfig: ChainAppConfig, ec: ExecutionContext): Future[Unit]
  20. def destroyBitcoind(bitcoind: BitcoindRpcClient)(implicit system: ActorSystem): Future[Unit]
  21. def destroyBitcoindChainApiViaRpc(bitcoindChainHandler: BitcoindBaseVersionChainHandlerViaRpc)(implicit system: ActorSystem, chainAppConfig: ChainAppConfig): Future[Unit]
  22. def destroyChainApi()(implicit system: ActorSystem, chainAppConfig: ChainAppConfig): Future[Unit]

    Destroys the chain api, but leaves the bitcoind instance running so we can cache it

  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def logger: Logger
    Definition Classes
    BitcoinSLogger
  30. def makeChainHandler()(implicit appConfig: ChainAppConfig, ec: ExecutionContext): Future[ChainHandlerCached]
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def setupAllTables()(implicit appConfig: ChainAppConfig, ec: ExecutionContext): Future[Unit]
  35. def setupHeaderTableWithGenesisHeader()(implicit ec: ExecutionContext, appConfig: ChainAppConfig): Future[(ChainHandlerCached, BlockHeaderDb)]
  36. def syncFromBitcoind(bitcoind: BitcoindRpcClient, chainHandler: ChainHandler)(implicit ec: ExecutionContext): Future[ChainApi]

    Syncs the given chain handler to the given bitcoind

  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from ChainVerificationLogger

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped