Packages

trait CLightningRpcTestUtil extends Logging

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CLightningRpcTestUtil
  2. Logging
  3. AnyRef
  4. 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.

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

    Creates a bitcoind instance with the given parameters

  7. def cLightingInstance(datadir: File)(implicit system: ActorSystem): CLightningInstanceLocal
  8. def cLightingInstance(bitcoindRpc: BitcoindRpcClient)(implicit system: ActorSystem): CLightningInstanceLocal
  9. def cLightningDataDir(bitcoindRpcClient: BitcoindRpcClient, isCanonical: Boolean): File
  10. def canonicalDatadir: File
  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
  13. def connectLNNodes(client: CLightningRpcClient, otherClient: CLightningRpcClient)(implicit ec: ExecutionContext): Future[Unit]
  14. def createNodePair(bitcoind: BitcoindRpcClient)(implicit system: ActorSystem): Future[(CLightningRpcClient, CLightningRpcClient)]

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

  15. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. def fundLNNodes(bitcoind: BitcoindRpcClient, client: CLightningRpcClient, otherClient: CLightningRpcClient)(implicit ec: ExecutionContext): Future[Unit]
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  31. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  32. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  35. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  36. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  37. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. 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

  42. def randomCLightningDatadir(): File
  43. val sbtBinaryDirectory: Path
  44. def shutdown(CLightningRpcClient: CLightningRpcClient)(implicit system: ActorSystem): Future[Unit]

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

  45. def startedBitcoindRpcClient(instanceOpt: Option[BitcoindInstanceLocal] = None)(implicit actorSystem: ActorSystem): Future[BitcoindRpcClient]

    Makes a best effort to get a 0.21 bitcoind instance

  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  54. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped