Package 

Class EsploraConfig

  • All Implemented Interfaces:

    
    public final class EsploraConfig
    
                        

    Configuration for an Esplora blockchain.

    • 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 String getBaseUrl() Base URL of the esplora service, e.g.
      final Unit setBaseUrl(String baseUrl) Base URL of the esplora service, e.g.
      final String getProxy() Optional URL of the proxy to use to make requests to the Esplora server.
      final Unit setProxy(String proxy) Optional URL of the proxy to use to make requests to the Esplora server.
      final UByte getConcurrency() Number of parallel requests sent to the esplora service (default: 4).
      final Unit setConcurrency(UByte concurrency) Number of parallel requests sent to the esplora service (default: 4).
      final ULong getStopGap() Stop searching addresses for transactions after finding an unused gap of this length.
      final Unit setStopGap(ULong stopGap) Stop searching addresses for transactions after finding an unused gap of this length.
      final ULong getTimeout() Socket timeout.
      final Unit setTimeout(ULong timeout) Socket timeout.
      • Methods inherited from class java.lang.Object

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

      • getBaseUrl

         final String getBaseUrl()

        Base URL of the esplora service, e.g. https://blockstream.info/api/.

      • setBaseUrl

         final Unit setBaseUrl(String baseUrl)

        Base URL of the esplora service, e.g. https://blockstream.info/api/.

      • getProxy

         final String getProxy()

        Optional URL of the proxy to use to make requests to the Esplora server.

      • setProxy

         final Unit setProxy(String proxy)

        Optional URL of the proxy to use to make requests to the Esplora server.

      • getConcurrency

         final UByte getConcurrency()

        Number of parallel requests sent to the esplora service (default: 4).

      • setConcurrency

         final Unit setConcurrency(UByte concurrency)

        Number of parallel requests sent to the esplora service (default: 4).

      • getStopGap

         final ULong getStopGap()

        Stop searching addresses for transactions after finding an unused gap of this length.

      • setStopGap

         final Unit setStopGap(ULong stopGap)

        Stop searching addresses for transactions after finding an unused gap of this length.