4a05f56cfb95cc7b19d26685db38799f58e32978
[ldk-java] / c_sharp / src / org / ldk / enums / ConfirmationTarget.cs
1 namespace org { namespace ldk { namespace enums {/**
2  * An enum that represents the priority at which we want a transaction to confirm used for feerate
3  * estimation.
4  */
5 public enum ConfirmationTarget {
6         /**
7          * We'd like a transaction to confirm in the future, but don't want to commit most of the fees
8          * required to do so yet. The remaining fees will come via a Child-Pays-For-Parent (CPFP) fee
9          * bump of the transaction.
10          * 
11          * The feerate returned should be the absolute minimum feerate required to enter most node
12          * mempools across the network. Note that if you are not able to obtain this feerate estimate,
13          * you should likely use the furthest-out estimate allowed by your fee estimator.
14          */
15         LDKConfirmationTarget_MempoolMinimum,
16         /**
17          * We are happy with a transaction confirming slowly, at least within a day or so worth of
18          * blocks.
19          */
20         LDKConfirmationTarget_Background,
21         /**
22          * We'd like a transaction to confirm without major delayed, i.e., within the next 12-24 blocks.
23          */
24         LDKConfirmationTarget_Normal,
25         /**
26          * We'd like a transaction to confirm in the next few blocks.
27          */
28         LDKConfirmationTarget_HighPriority,
29 }} } }