1 namespace org { namespace ldk { namespace enums {/**
2 * Whether this blinded HTLC is being failed backwards by the introduction node or a blinded node,
3 * which determines the failure message that should be used.
5 public enum BlindedFailure {
7 * This HTLC is being failed backwards by the introduction node, and thus should be failed with
8 * [`msgs::UpdateFailHTLC`] and error code `0x8000|0x4000|24`.
10 LDKBlindedFailure_FromIntroductionNode,
12 * This HTLC is being failed backwards by a blinded node within the path, and thus should be
13 * failed with [`msgs::UpdateFailMalformedHTLC`] and error code `0x8000|0x4000|24`.
15 LDKBlindedFailure_FromBlindedNode,