Package org.bitcoindevkit
Class LightClient
-
- All Implemented Interfaces:
-
org.bitcoindevkit.Disposable
public final class LightClient implements Disposable
Receive a `Client` and `LightNode`.
-
-
Constructor Summary
Constructors Constructor Description LightClient(Client client, LightNode node)
-
Method Summary
Modifier and Type Method Description final Client
getClient()
Publish events to the node, like broadcasting transactions or adding scripts. final Unit
setClient(Client client)
Publish events to the node, like broadcasting transactions or adding scripts. final LightNode
getNode()
The node to run and fetch transactions for a `Wallet`. final Unit
setNode(LightNode node)
The node to run and fetch transactions for a `Wallet`. Unit
destroy()
-