Package org.ldk.structs
Class UtxoResult.Async
- java.lang.Object
-
- org.ldk.structs.UtxoResult
-
- org.ldk.structs.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.UtxoResult
UtxoResult.Async, UtxoResult.Sync
-
-
Field Summary
Fields Modifier and Type Field Description UtxoFuture
async
-
-
-
Field Detail
-
async
public final UtxoFuture async
-
-