da90c2e055ca4f2d60911c68c849636c702c0c35
[ldk-java] / src / main / java / org / ldk / enums / HTLCClaim.java
1 package org.ldk.enums;
2
3 /**
4  * Describes the type of HTLC claim as determined by analyzing the witness.
5  */
6 public enum HTLCClaim {
7         /**
8          * Claims an offered output on a commitment transaction through the timeout path.
9          */
10         LDKHTLCClaim_OfferedTimeout,
11         /**
12          * Claims an offered output on a commitment transaction through the success path.
13          */
14         LDKHTLCClaim_OfferedPreimage,
15         /**
16          * Claims an accepted output on a commitment transaction through the timeout path.
17          */
18         LDKHTLCClaim_AcceptedTimeout,
19         /**
20          * Claims an accepted output on a commitment transaction through the success path.
21          */
22         LDKHTLCClaim_AcceptedPreimage,
23         /**
24          * Claims an offered/accepted output on a commitment transaction through the revocation path.
25          */
26         LDKHTLCClaim_Revocation,
27         ; static native void init();
28         static { init(); }
29 }