Class UtxoResult.Async

  • Enclosing class:
    UtxoResult

    public static final class UtxoResult.Async
    extends UtxoResult
    A result which will be resolved asynchronously. It includes a [`UtxoFuture`], a `clone` of which you must keep locally and call [`UtxoFuture::resolve`] on once the lookup completes. Note that in order to avoid runaway memory usage, the number of parallel checks is limited, but only fairly loosely. Because a pending checks block all message processing, leaving checks pending for an extended time may cause DoS of other functions. It is recommended you keep a tight timeout on lookups, on the order of a few seconds.