X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fenums%2FConfirmationTarget.cs;fp=c_sharp%2Fsrc%2Forg%2Fldk%2Fenums%2FConfirmationTarget.cs;h=47f1cf534d788e4df96fbd4d8d41b92d85a0c223;hb=810f7404202e04f70db946ced7363b64ddaf4ce4;hp=0000000000000000000000000000000000000000;hpb=fa130da4108815a8b17c3c093a91fc3d83754a0f;p=ldk-java diff --git a/c_sharp/src/org/ldk/enums/ConfirmationTarget.cs b/c_sharp/src/org/ldk/enums/ConfirmationTarget.cs new file mode 100644 index 00000000..47f1cf53 --- /dev/null +++ b/c_sharp/src/org/ldk/enums/ConfirmationTarget.cs @@ -0,0 +1,18 @@ +namespace org { namespace ldk { namespace enums {/** + * An enum that represents the speed at which we want a transaction to confirm used for feerate + * estimation. + */ +public enum ConfirmationTarget { + /** + * We are happy with this transaction confirming slowly when feerate drops some. + */ + LDKConfirmationTarget_Background, + /** + * We'd like this transaction to confirm without major delay, but 12-18 blocks is fine. + */ + LDKConfirmationTarget_Normal, + /** + * We'd like this transaction to confirm in the next few blocks. + */ + LDKConfirmationTarget_HighPriority, +}} } }