Packages

object CLightningRpcTestUtil extends CLightningRpcTestUtil

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CLightningRpcTestUtil
  2. CLightningRpcTestUtil
  3. BitcoinSLogger
  4. AnyRef
  5. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def awaitInSync(clightning: CLightningRpcClient, bitcoind: BitcoindRpcClient)(implicit system: ActorSystem): Future[Unit]

    Returns a Future that is completed when both clightning and bitcoind have the same block height Fails the future if they are not synchronized within the given timeout.

    Returns a Future that is completed when both clightning and bitcoind have the same block height Fails the future if they are not synchronized within the given timeout.

    Definition Classes
    CLightningRpcTestUtil
  6. def bitcoindInstance(port: Int = RpcUtil.randomPort, rpcPort: Int = RpcUtil.randomPort, bitcoindV: BitcoindVersion = BitcoindVersion.newest)(implicit system: ActorSystem): BitcoindInstanceLocal

    Creates a bitcoind instance with the given parameters

    Creates a bitcoind instance with the given parameters

    Definition Classes
    CLightningRpcTestUtil
  7. def cLightingInstance(datadir: File)(implicit system: ActorSystem): CLightningInstanceLocal
    Definition Classes
    CLightningRpcTestUtil
  8. def cLightingInstance(bitcoindRpc: BitcoindRpcClient)(implicit system: ActorSystem): CLightningInstanceLocal
    Definition Classes
    CLightningRpcTestUtil
  9. def cLightningDataDir(bitcoindRpcClient: BitcoindRpcClient, isCanonical: Boolean): File
    Definition Classes
    CLightningRpcTestUtil
  10. def canonicalDatadir: File
    Definition Classes
    CLightningRpcTestUtil
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def commonConfig(datadir: Path, bitcoindInstance: BitcoindInstance, port: Int = RpcUtil.randomPort): String
    Definition Classes
    CLightningRpcTestUtil
  13. def connectLNNodes(client: CLightningRpcClient, otherClient: CLightningRpcClient)(implicit ec: ExecutionContext): Future[Unit]
    Definition Classes
    CLightningRpcTestUtil
  14. def createNodePair(bitcoind: BitcoindRpcClient)(implicit system: ActorSystem): Future[(CLightningRpcClient, CLightningRpcClient)]

    Creates two clightning nodes that are connected together and returns their respective CLightningRpcClients

    Creates two clightning nodes that are connected together and returns their respective CLightningRpcClients

    Definition Classes
    CLightningRpcTestUtil
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def fundLNNodes(bitcoind: BitcoindRpcClient, client: CLightningRpcClient, otherClient: CLightningRpcClient)(implicit ec: ExecutionContext): Future[Unit]
    Definition Classes
    CLightningRpcTestUtil
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def logger: Logger
    Definition Classes
    BitcoinSLogger
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def openChannel(bitcoind: BitcoindRpcClient, n1: CLightningRpcClient, n2: CLightningRpcClient, amt: CurrencyUnit = DEFAULT_CHANNEL_AMT, pushAmt: CurrencyUnit = DEFAULT_CHANNEL_AMT / Satoshis(2))(implicit ec: ExecutionContext): Future[FundChannelResult]

    Opens a channel from n1 -> n2

    Opens a channel from n1 -> n2

    Definition Classes
    CLightningRpcTestUtil
  27. def randomCLightningDatadir(): File
    Definition Classes
    CLightningRpcTestUtil
  28. val sbtBinaryDirectory: Path
    Definition Classes
    CLightningRpcTestUtil
  29. def shutdown(CLightningRpcClient: CLightningRpcClient)(implicit system: ActorSystem): Future[Unit]

    Shuts down an clightning daemon and the bitcoind daemon it is associated with

    Shuts down an clightning daemon and the bitcoind daemon it is associated with

    Definition Classes
    CLightningRpcTestUtil
  30. def startedBitcoindRpcClient(instanceOpt: Option[BitcoindInstanceLocal] = None)(implicit actorSystem: ActorSystem): Future[BitcoindRpcClient]

    Makes a best effort to get a 0.21 bitcoind instance

    Makes a best effort to get a 0.21 bitcoind instance

    Definition Classes
    CLightningRpcTestUtil
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from CLightningRpcTestUtil

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped