org.bitcoins.testkit.eclair.rpc
Returns a Future
that is completed when both eclair and bitcoind have the same block height
Fails the future if they are not sychronized within the given timeout.
Doesn't return until the given channelId is in the ChannelState.NORMAL for this EclairRpcClient
Assumes bitcoind is running already and you have specified correct bindings in eclair.conf
Creates four Eclair nodes that are connected in the following manner:
Creates four Eclair nodes that are connected in the following manner:
node1 <-> node2 <-> node3 <-> node4
Each double sided arrow represents a P2P connection as well as a funded channel
A 4-tuple of the created nodes' respective EclairRpcClient
Blocks the current thread
Creates four Eclair nodes that are connected in the following manner:
Creates four Eclair nodes that are connected in the following manner:
node1 <-> node2 <-> node3 <-> node4
Each double sided arrow represents a P2P connection as well as a funded channel
A 4-tuple of the created nodes' respective EclairRpcClient
Blocks the current thread
Creates four Eclair nodes that are connected in the following manner:
Creates four Eclair nodes that are connected in the following manner:
node1 <-> node2 <-> node3 <-> node4
Each double sided arrow represents a P2P connection as well as a funded channel
A 4-tuple of the created nodes' respective EclairRpcClient
Blocks the current thread
Creates four Eclair nodes that are connected in the following manner:
Creates four Eclair nodes that are connected in the following manner:
node1 <-> node2 <-> node3 <-> node4
Each double sided arrow represents a P2P connection as well as a funded channel
A 4-tuple of the created nodes' respective EclairRpcClient
Blocks the current thread
Creates two Eclair nodes that are connected together and returns their respective EclairRpcClients
Starts the given bitcoind instance and then starts the eclair instance
Opens a channel from n1 -> n2
Sends numPayments
between c1
and c2
.
Sends numPayments
between c1
and c2
. No aspect of the payment
(size, description, etc) should be assumed to have a certain value,
this method is just for populating channel update history with
something.
Shuts down an eclair daemon and the bitcoind daemon it is associated with
Makes a best effort to get a 0.16 bitcoind instance