Interface PollingChainTipService

All Superinterfaces:
AsyncSupport, ChainTipClient, ChainTipService, RxJsonRpcClient

Deprecated.
Use the PollingChainTipServiceImpl implementation
Interface with pollForDistinctChainTip() method.
  • Field Details

    • log

      static final org.slf4j.Logger log
      Deprecated.
  • Method Details

    • getPollingInterval

      io.reactivex.rxjava3.core.Observable<Long> getPollingInterval()
      Deprecated.
      Implement this method to provide a polling interval
      Returns:
      polling interval with desired frequency for polling for new ChainTips.
    • pollForDistinctChainTip

      default org.reactivestreams.Publisher<ChainTip> pollForDistinctChainTip()
      Deprecated.
      Using a polling interval provided by getPollingInterval() provide a stream of distinct ChainTips.
      Returns:
      A stream of distinct ChainTips.