object CLightningRpcTestUtil extends CLightningRpcTestUtil
- Alphabetic
- By Inheritance
- CLightningRpcTestUtil
- CLightningRpcTestUtil
- BitcoinSLogger
- 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 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
- 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
- def cLightingInstance(datadir: File)(implicit system: ActorSystem): CLightningInstanceLocal
- Definition Classes
- CLightningRpcTestUtil
- def cLightingInstance(bitcoindRpc: BitcoindRpcClient)(implicit system: ActorSystem): CLightningInstanceLocal
- Definition Classes
- CLightningRpcTestUtil
- def cLightningDataDir(bitcoindRpcClient: BitcoindRpcClient, isCanonical: Boolean): File
- Definition Classes
- CLightningRpcTestUtil
- def canonicalDatadir: File
- Definition Classes
- CLightningRpcTestUtil
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def commonConfig(datadir: Path, bitcoindInstance: BitcoindInstance, port: Int = RpcUtil.randomPort): String
- Definition Classes
- CLightningRpcTestUtil
- def connectLNNodes(client: CLightningRpcClient, otherClient: CLightningRpcClient)(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- CLightningRpcTestUtil
- 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
- 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])
- def fundLNNodes(bitcoind: BitcoindRpcClient, client: CLightningRpcClient, otherClient: CLightningRpcClient)(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- CLightningRpcTestUtil
- 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
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- 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()
- 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
- def randomCLightningDatadir(): File
- Definition Classes
- CLightningRpcTestUtil
- val sbtBinaryDirectory: Path
- Definition Classes
- CLightningRpcTestUtil
- 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
- 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
- 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()