object BitcoinSFixture extends Serializable
- Alphabetic
- By Inheritance
- BitcoinSFixture
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def composeBuilders[T, U](builder: () => Future[T], dependentBuilder: (T) => Future[U])(implicit ec: ExecutionContext): () => Future[(T, U)]
Given two fixture building methods (one dependent on the other), returns a single fixture building method where the fixture is the pair of the two.
Given two fixture building methods (one dependent on the other), returns a single fixture building method where the fixture is the pair of the two.
Example:
composeBuilders(createBlockHeaderDAO, createChainHandlerFromBlockHeaderDAO)
- def composeBuildersAndWrap[T, U, C](builder: () => Future[T], dependentBuilder: (T) => Future[U], wrap: (T, U) => C)(implicit ec: ExecutionContext): () => Future[C]
Given two fixture building methods (one dependent on the other) and a wrapper for their pair type, returns a single fixture building method where the fixture is wrapper.
Given two fixture building methods (one dependent on the other) and a wrapper for their pair type, returns a single fixture building method where the fixture is wrapper.
Example:
composeBuildersAndWrap( createBitcoind, createChainHandlerWithBitcoindZmq, BitcoindChainHandler.apply)
- def composeBuildersAndWrapFuture[T, U, C](builder: () => Future[T], dependentBuilder: (T) => Future[U], processResult: (T, U) => Future[C])(implicit ec: ExecutionContext): () => Future[C]
Given two fixture building methods (one dependent on the other) and a function that processes the result of the builders returning a Future, returns a single fixture building method where the fixture is wrapper.
Given two fixture building methods (one dependent on the other) and a function that processes the result of the builders returning a Future, returns a single fixture building method where the fixture is wrapper.
This method is identical to
composeBuildersAndWrap
, except that the wrapping function returns aFuture[C]
instead of aC
- def createBitcoind(versionOpt: Option[BitcoindVersion] = None, enableNeutrino: Boolean = true)(implicit system: ActorSystem): Future[BitcoindRpcClient]
Creates a new bitcoind instance
Creates a new bitcoind instance
- versionOpt
the version of bitcoind ot use
- def createBitcoindBlockFilterRpcWithFunds(versionOpt: Option[BitcoindVersion] = None)(implicit system: ActorSystem): Future[BitcoindRpcClient]
- def createBitcoindWithFunds(versionOpt: Option[BitcoindVersion] = None)(implicit system: ActorSystem): Future[BitcoindRpcClient]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()