@node-dlc/core
Version:
21 lines • 786 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HtlcDirection = void 0;
/**
* Direction, from our node's perspective, of an HTLC.
*/
var HtlcDirection;
(function (HtlcDirection) {
/**
* We have offered this HTLC to pay a node directly or on behalf
* of a forward request.
*/
HtlcDirection[HtlcDirection["Offered"] = 0] = "Offered";
/**
* We have accepted this HTLC from the counterparty. We may be the
* final hop in a chain (and would posssess) the preimage or we may
* be a processing hop in a sequence of payments.
*/
HtlcDirection[HtlcDirection["Accepted"] = 1] = "Accepted";
})(HtlcDirection = exports.HtlcDirection || (exports.HtlcDirection = {}));
//# sourceMappingURL=HtlcDirection.js.map