Package 

Interface ServiceMode


  • 
    public interface ServiceMode
    
                        

    Mode that determines which connection is used for the lightwalletd networking calls.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class ServiceMode.Direct

      GRPC connection is used, no Tor involved.

      public class ServiceMode.DefaultTor

      Default Tor connection is used, lives for the lifetime of the CombinedWalletClient.

      public class ServiceMode.UniqueTor

      Tor connection is used, each time a new one, not held in memory, used only once.

      public final class ServiceMode.Group

      Tor connection is used tagged by a given group name (String). Tags are held in memory for the lifetime of the CombinedWalletClient.