Package 

Class ElectrumConfig

  • All Implemented Interfaces:

    
    public final class ElectrumConfig
    
                        

    Configuration for an Electrum 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 getUrl() URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port, e.g.
      final Unit setUrl(String url) URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port, e.g.
      final String getSocks5() URL of the socks5 proxy server or a Tor service.
      final Unit setSocks5(String socks5) URL of the socks5 proxy server or a Tor service.
      final UByte getRetry() Request retry count.
      final Unit setRetry(UByte retry) Request retry count.
      final UByte getTimeout() Request timeout (seconds).
      final Unit setTimeout(UByte timeout) Request timeout (seconds).
      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 Boolean getValidateDomain() Validate the domain when using SSL.
      final Unit setValidateDomain(Boolean validateDomain) Validate the domain when using SSL.
      • Methods inherited from class java.lang.Object

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

      • getUrl

         final String getUrl()

        URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port, e.g. ssl://electrum.blockstream.info:60002.

      • setUrl

         final Unit setUrl(String url)

        URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port, e.g. ssl://electrum.blockstream.info:60002.

      • getSocks5

         final String getSocks5()

        URL of the socks5 proxy server or a Tor service.

      • setSocks5

         final Unit setSocks5(String socks5)

        URL of the socks5 proxy server or a Tor service.

      • 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.