Class LightClient

  • All Implemented Interfaces:
    org.bitcoindevkit.Disposable

    public final class LightClient
     implements Disposable
                        

    Receive a `Client` and `LightNode`.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getClient

         final Client getClient()

        Publish events to the node, like broadcasting transactions or adding scripts.

      • setClient

         final Unit setClient(Client client)

        Publish events to the node, like broadcasting transactions or adding scripts.

      • getNode

         final LightNode getNode()

        The node to run and fetch transactions for a `Wallet`.

      • setNode

         final Unit setNode(LightNode node)

        The node to run and fetch transactions for a `Wallet`.