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
5 public enum ConfirmationTarget {
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.
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.
15 LDKConfirmationTarget_MempoolMinimum,
17 * We are happy with a transaction confirming slowly, at least within a day or so worth of
20 LDKConfirmationTarget_Background,
22 * We'd like a transaction to confirm without major delayed, i.e., within the next 12-24 blocks.
24 LDKConfirmationTarget_Normal,
26 * We'd like a transaction to confirm in the next few blocks.
28 LDKConfirmationTarget_HighPriority,