mirror of
https://github.com/stakwork/sphinx-relay.git
synced 2026-08-13 12:33:24 +02:00
grpc -> grpcjs + generated ts types from proto files
notes:
* grpcjs doesnt like ByteBuffer, it has been replaced with the nodejs
native Buffer
* grpcjs doesnt like calls without an argument, add {} instead
see src/grpc/subscribe.ts:24
* grpcjs converts uint64 in a map key (map<uint64, ...>) to some hash,
this is fixed with protobuf_long.patch which is automatically applied
after running `npm install`
this pr would fix the bug upstream https://github.com/protobufjs/protobuf.js/pull/1669
This commit is contained in:
parent
7067c67069
commit
a8658b8b4a
628 changed files with 27360 additions and 10455 deletions
13
.github/workflows/update_proto.yml
vendored
13
.github/workflows/update_proto.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: Update proto files
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 1 * *"
|
||||
- cron: '0 0 1 * *'
|
||||
|
||||
jobs:
|
||||
update_proto:
|
||||
|
|
@ -22,5 +22,14 @@ jobs:
|
|||
find lnd/lnrpc -name '*.proto' -exec bash -c 'test -e proto/`basename {}` && cp {} proto' \;
|
||||
sed -i 's/^import.*\//import "/' proto/*
|
||||
git add proto
|
||||
git commit -m "Update proto files" || echo -n
|
||||
- name: update generated types
|
||||
run: |
|
||||
bash grpc_gen_types.sh
|
||||
npm run build
|
||||
git add src/grpc/types dist
|
||||
- name: commit changes
|
||||
run: |
|
||||
git config user.name 'Github Actions'
|
||||
git config user.email github-actions@github.com
|
||||
git commit -m 'Update proto files and types' || echo -n
|
||||
git push
|
||||
|
|
|
|||
2
dist/src/controllers/invoices.js.map
vendored
2
dist/src/controllers/invoices.js.map
vendored
File diff suppressed because one or more lines are too long
18
dist/src/controllers/queries.js
vendored
18
dist/src/controllers/queries.js
vendored
|
|
@ -93,8 +93,8 @@ function getPendingAccountings() {
|
|||
id: a.id,
|
||||
pubkey: a.pubkey,
|
||||
onchainAddress: utxo.address,
|
||||
amount: utxo.amount_sat,
|
||||
confirmations: utxo.confirmations,
|
||||
amount: parseInt(utxo.amount_sat),
|
||||
confirmations: parseInt(utxo.confirmations),
|
||||
sourceApp: a.sourceApp,
|
||||
date: a.date,
|
||||
onchainTxid: onchainTxid,
|
||||
|
|
@ -143,11 +143,17 @@ function genChannelAndConfirmAccounting(acc) {
|
|||
push_sat: 0,
|
||||
sat_per_byte,
|
||||
});
|
||||
if (!r) {
|
||||
return;
|
||||
}
|
||||
logger_1.sphinxLogger.info(`[WATCH]=> CHANNEL OPENED! ${r}`);
|
||||
const fundingTxidRev = Buffer.from(r.funding_txid_bytes).toString('hex');
|
||||
const fundingTxid = fundingTxidRev.match(/.{2}/g)
|
||||
.reverse()
|
||||
.join('');
|
||||
let fundingTxid;
|
||||
if (r.funding_txid === 'funding_txid_str') {
|
||||
fundingTxid = r.funding_txid_str;
|
||||
}
|
||||
else {
|
||||
fundingTxid = r.funding_txid_bytes.reverse().toString('hex');
|
||||
}
|
||||
yield models_1.models.Accounting.update({
|
||||
status: constants_1.default.statuses.received,
|
||||
fundingTxid: fundingTxid,
|
||||
|
|
|
|||
2
dist/src/controllers/queries.js.map
vendored
2
dist/src/controllers/queries.js.map
vendored
File diff suppressed because one or more lines are too long
58
dist/src/grpc/greenlight.js
vendored
58
dist/src/grpc/greenlight.js
vendored
|
|
@ -11,10 +11,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.streamHsmRequests = exports.recover = exports.register = exports.sign_challenge = exports.get_challenge = exports.schedule = exports.startGreenlightInit = exports.get_greenlight_grpc_uri = exports.keepalive = exports.initGreenlight = void 0;
|
||||
const fs = require("fs");
|
||||
const grpc = require("grpc");
|
||||
const grpc = require("@grpc/grpc-js");
|
||||
const proto_1 = require("./proto");
|
||||
const libhsmd_1 = require("./libhsmd");
|
||||
const config_1 = require("../utils/config");
|
||||
const ByteBuffer = require("bytebuffer");
|
||||
const crypto = require("crypto");
|
||||
const interfaces = require("./interfaces");
|
||||
const lightning_1 = require("./lightning");
|
||||
|
|
@ -38,7 +38,7 @@ function keepalive() {
|
|||
}, 59000);
|
||||
}
|
||||
exports.keepalive = keepalive;
|
||||
let schedulerClient = null;
|
||||
// let schedulerClient: SchedulerClient | undefined
|
||||
const loadSchedulerCredentials = () => {
|
||||
const glCert = fs.readFileSync(config.scheduler_tls_location);
|
||||
const glPriv = fs.readFileSync(config.scheduler_key_location);
|
||||
|
|
@ -47,13 +47,12 @@ const loadSchedulerCredentials = () => {
|
|||
};
|
||||
function loadScheduler() {
|
||||
// 35.236.110.178:2601
|
||||
const descriptor = grpc.load('proto/scheduler.proto');
|
||||
const descriptor = (0, proto_1.loadProto)('scheduler');
|
||||
const scheduler = descriptor.scheduler;
|
||||
const options = {
|
||||
'grpc.ssl_target_name_override': 'localhost',
|
||||
};
|
||||
schedulerClient = new scheduler.Scheduler('35.236.110.178:2601', loadSchedulerCredentials(), options);
|
||||
return schedulerClient;
|
||||
return new scheduler.Scheduler('35.236.110.178:2601', loadSchedulerCredentials(), options);
|
||||
}
|
||||
let GREENLIGHT_GRPC_URI = '';
|
||||
function get_greenlight_grpc_uri() {
|
||||
|
|
@ -106,14 +105,14 @@ function startGreenlightInit() {
|
|||
exports.startGreenlightInit = startGreenlightInit;
|
||||
function schedule(pubkey) {
|
||||
logger_1.sphinxLogger.info('=> Greenlight schedule');
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
return new Promise((resolve, reject) => {
|
||||
try {
|
||||
const s = loadScheduler();
|
||||
s.schedule({
|
||||
node_id: ByteBuffer.fromHex(pubkey),
|
||||
node_id: Buffer.from(pubkey, 'hex'),
|
||||
}, (err, response) => {
|
||||
// console.log('=> schedule', err, response);
|
||||
if (!err) {
|
||||
if (!err && response) {
|
||||
GREENLIGHT_GRPC_URI = response.grpc_uri;
|
||||
resolve(response);
|
||||
}
|
||||
|
|
@ -125,7 +124,7 @@ function schedule(pubkey) {
|
|||
catch (e) {
|
||||
logger_1.sphinxLogger.error(e);
|
||||
}
|
||||
}));
|
||||
});
|
||||
}
|
||||
exports.schedule = schedule;
|
||||
function recoverGreenlight(gid) {
|
||||
|
|
@ -175,14 +174,14 @@ function registerGreenlight(gid, rootkey, secretPath) {
|
|||
});
|
||||
}
|
||||
function get_challenge(node_id) {
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
return new Promise((resolve, reject) => {
|
||||
try {
|
||||
const s = loadScheduler();
|
||||
s.getChallenge({
|
||||
node_id: ByteBuffer.fromHex(node_id),
|
||||
node_id: Buffer.from(node_id, 'hex'),
|
||||
scope: 'REGISTER',
|
||||
}, (err, response) => {
|
||||
if (!err) {
|
||||
if (!err && response) {
|
||||
resolve(Buffer.from(response.challenge).toString('hex'));
|
||||
}
|
||||
else {
|
||||
|
|
@ -193,7 +192,7 @@ function get_challenge(node_id) {
|
|||
catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
}));
|
||||
});
|
||||
}
|
||||
exports.get_challenge = get_challenge;
|
||||
function sign_challenge(challenge) {
|
||||
|
|
@ -205,18 +204,18 @@ function sign_challenge(challenge) {
|
|||
}
|
||||
exports.sign_challenge = sign_challenge;
|
||||
function register(pubkey, bip32_key, challenge, signature) {
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
return new Promise((resolve, reject) => {
|
||||
try {
|
||||
const s = loadScheduler();
|
||||
s.register({
|
||||
node_id: ByteBuffer.fromHex(pubkey),
|
||||
bip32_key: ByteBuffer.fromHex(bip32_key),
|
||||
node_id: Buffer.from(pubkey, 'hex'),
|
||||
bip32_key: Buffer.from(bip32_key, 'hex'),
|
||||
network: 'bitcoin',
|
||||
challenge: ByteBuffer.fromHex(challenge),
|
||||
signature: ByteBuffer.fromHex(signature),
|
||||
challenge: Buffer.from(challenge, 'hex'),
|
||||
signature: Buffer.from(signature, 'hex'),
|
||||
}, (err, response) => {
|
||||
logger_1.sphinxLogger.info(`${err} ${response}`);
|
||||
if (!err) {
|
||||
if (!err && response) {
|
||||
resolve(response);
|
||||
}
|
||||
else {
|
||||
|
|
@ -227,20 +226,20 @@ function register(pubkey, bip32_key, challenge, signature) {
|
|||
catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
}));
|
||||
});
|
||||
}
|
||||
exports.register = register;
|
||||
function recover(pubkey, challenge, signature) {
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
return new Promise((resolve, reject) => {
|
||||
try {
|
||||
const s = loadScheduler();
|
||||
s.recover({
|
||||
node_id: ByteBuffer.fromHex(pubkey),
|
||||
challenge: ByteBuffer.fromHex(challenge),
|
||||
signature: ByteBuffer.fromHex(signature),
|
||||
node_id: Buffer.from(pubkey, 'hex'),
|
||||
challenge: Buffer.from(challenge, 'hex'),
|
||||
signature: Buffer.from(signature, 'hex'),
|
||||
}, (err, response) => {
|
||||
logger_1.sphinxLogger.info(`${err} ${response}`);
|
||||
if (!err) {
|
||||
if (!err && response) {
|
||||
resolve(response);
|
||||
}
|
||||
else {
|
||||
|
|
@ -251,7 +250,7 @@ function recover(pubkey, challenge, signature) {
|
|||
catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
}));
|
||||
});
|
||||
}
|
||||
exports.recover = recover;
|
||||
function streamHsmRequests() {
|
||||
|
|
@ -275,9 +274,10 @@ function streamHsmRequests() {
|
|||
logger_1.sphinxLogger.info(response.raw.toString('hex'));
|
||||
sig = libhsmd_1.default.Handle(capabilities_bitset, 0, null, response.raw.toString('hex'));
|
||||
}
|
||||
;
|
||||
lightning.respondHsmRequest({
|
||||
request_id: response.request_id,
|
||||
raw: ByteBuffer.fromHex(sig),
|
||||
raw: Buffer.from(sig, 'hex'),
|
||||
}, (err, response) => {
|
||||
if (err)
|
||||
logger_1.sphinxLogger.error(`[HSMD] error ${err}`);
|
||||
|
|
@ -294,7 +294,7 @@ function streamHsmRequests() {
|
|||
logger_1.sphinxLogger.info(`[HSMD] Status ${status.code} ${status}`);
|
||||
});
|
||||
call.on('error', function (err) {
|
||||
logger_1.sphinxLogger.error(`[HSMD] Error ${err.code}`);
|
||||
logger_1.sphinxLogger.error(`[HSMD] Error ${err.name} ${err.message}`);
|
||||
});
|
||||
call.on('end', function () {
|
||||
logger_1.sphinxLogger.info(`[HSMD] Closed stream`);
|
||||
|
|
|
|||
2
dist/src/grpc/greenlight.js.map
vendored
2
dist/src/grpc/greenlight.js.map
vendored
File diff suppressed because one or more lines are too long
7
dist/src/grpc/interfaces.js
vendored
7
dist/src/grpc/interfaces.js
vendored
|
|
@ -2,7 +2,6 @@
|
|||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.txIndexFromChannelId = exports.greenlightSignMessagePayload = exports.connectPeerResponse = exports.connectPeerRequest = exports.subscribeResponse = exports.InvoiceState = exports.subscribeCommand = exports.keysendResponse = exports.keysendRequest = exports.listPeersResponse = exports.listPeersRequest = exports.listChannelsRequest = exports.listChannelsCommand = exports.listChannelsResponse = exports.addInvoiceResponse = exports.addInvoiceCommand = exports.addInvoiceRequest = exports.getInfoResponse = void 0;
|
||||
const config_1 = require("../utils/config");
|
||||
const ByteBuffer = require("bytebuffer");
|
||||
const crypto = require("crypto");
|
||||
const lightning_1 = require("./lightning");
|
||||
const long = require("long");
|
||||
|
|
@ -116,7 +115,7 @@ function listChannelsRequest(args) {
|
|||
const opts = args || {};
|
||||
if (args && args.peer) {
|
||||
if (IS_LND)
|
||||
opts.peer = ByteBuffer.fromHex(args.peer);
|
||||
opts.peer = Buffer.from(args.peer, 'hex');
|
||||
if (IS_GREENLIGHT)
|
||||
opts.node_id = args.peer;
|
||||
}
|
||||
|
|
@ -126,7 +125,7 @@ exports.listChannelsRequest = listChannelsRequest;
|
|||
function listPeersRequest(args) {
|
||||
const opts = args || {};
|
||||
if (IS_GREENLIGHT && args && args.node_id) {
|
||||
opts.node_id = ByteBuffer.fromHex(args.node_id);
|
||||
opts.node_id = Buffer.from(args.node_id, 'hex');
|
||||
}
|
||||
return opts;
|
||||
}
|
||||
|
|
@ -166,7 +165,7 @@ function keysendRequest(req) {
|
|||
r.routehints = req.route_hints.map((rh) => {
|
||||
const hops = rh.hop_hints.map((hh) => {
|
||||
return {
|
||||
node_id: ByteBuffer.fromHex(hh.node_id),
|
||||
node_id: Buffer.from(hh.node_id, 'hex'),
|
||||
short_channel_id: shortChanIDfromInt64(hh.chan_id),
|
||||
fee_base: '1000',
|
||||
fee_prop: 1,
|
||||
|
|
|
|||
2
dist/src/grpc/interfaces.js.map
vendored
2
dist/src/grpc/interfaces.js.map
vendored
File diff suppressed because one or more lines are too long
290
dist/src/grpc/lightning.js
vendored
290
dist/src/grpc/lightning.js
vendored
|
|
@ -9,10 +9,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||
});
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getChanInfo = exports.channelBalance = exports.complexBalances = exports.openChannel = exports.connectPeer = exports.pendingChannels = exports.listChannels = exports.listPeers = exports.addInvoice = exports.getInfo = exports.verifyAscii = exports.verifyMessage = exports.verifyBytes = exports.signBuffer = exports.signMessage = exports.listAllPaymentsFull = exports.listPaymentsPaginated = exports.listAllPayments = exports.listAllInvoices = exports.listInvoices = exports.signAscii = exports.keysendMessage = exports.loadRouter = exports.keysend = exports.sendPayment = exports.newAddress = exports.UNUSED_NESTED_PUBKEY_HASH = exports.UNUSED_WITNESS_PUBKEY_HASH = exports.NESTED_PUBKEY_HASH = exports.WITNESS_PUBKEY_HASH = exports.queryRoute = exports.setLock = exports.getLock = exports.getHeaders = exports.unlockWallet = exports.loadWalletUnlocker = exports.loadLightning = exports.loadCredentials = exports.SPHINX_CUSTOM_RECORD_KEY = exports.LND_KEYSEND_KEY = void 0;
|
||||
const ByteBuffer = require("bytebuffer");
|
||||
exports.getChanInfo = exports.channelBalance = exports.complexBalances = exports.openChannel = exports.connectPeer = exports.pendingChannels = exports.listChannels = exports.listPeers = exports.addInvoice = exports.getInfo = exports.verifyAscii = exports.verifyMessage = exports.verifyBytes = exports.signBuffer = exports.signMessage = exports.listAllPaymentsFull = exports.listPaymentsPaginated = exports.listAllPayments = exports.listAllInvoices = exports.listInvoices = exports.signAscii = exports.keysendMessage = exports.loadRouter = exports.keysend = exports.sendPayment = exports.newAddress = exports.UNUSED_NESTED_PUBKEY_HASH = exports.UNUSED_WITNESS_PUBKEY_HASH = exports.NESTED_PUBKEY_HASH = exports.WITNESS_PUBKEY_HASH = exports.queryRoute = exports.setLock = exports.getLock = exports.getHeaders = exports.unlockWallet = exports.loadWalletUnlocker = exports.loadLightning = exports.loadCredentials = exports.isGL = exports.isLND = exports.SPHINX_CUSTOM_RECORD_KEY = exports.LND_KEYSEND_KEY = void 0;
|
||||
const fs = require("fs");
|
||||
const grpc = require("grpc");
|
||||
const grpc = require("@grpc/grpc-js");
|
||||
const proto_1 = require("./proto");
|
||||
const helpers_1 = require("../helpers");
|
||||
const sha = require("js-sha256");
|
||||
const crypto = require("crypto");
|
||||
|
|
@ -26,17 +26,25 @@ const zbase32 = require("../utils/zbase32");
|
|||
const secp256k1 = require("secp256k1");
|
||||
const libhsmd_1 = require("./libhsmd");
|
||||
const greenlight_1 = require("./greenlight");
|
||||
// var protoLoader = require('@grpc/proto-loader')
|
||||
const config = (0, config_1.loadConfig)();
|
||||
const LND_IP = config.lnd_ip || 'localhost';
|
||||
// const IS_LND = config.lightning_provider === "LND";
|
||||
const IS_LND = config.lightning_provider === 'LND';
|
||||
const IS_GREENLIGHT = config.lightning_provider === 'GREENLIGHT';
|
||||
exports.LND_KEYSEND_KEY = 5482373484;
|
||||
exports.SPHINX_CUSTOM_RECORD_KEY = 133773310;
|
||||
const FEE_LIMIT_SAT = 10000;
|
||||
let lightningClient = null;
|
||||
let walletUnlocker = null;
|
||||
let routerClient = null;
|
||||
let lightningClient;
|
||||
let walletUnlocker;
|
||||
let routerClient;
|
||||
// typescript helpers for types
|
||||
function isLND(client) {
|
||||
return IS_LND;
|
||||
}
|
||||
exports.isLND = isLND;
|
||||
function isGL(client) {
|
||||
return IS_GREENLIGHT;
|
||||
}
|
||||
exports.isGL = isGL;
|
||||
function loadCredentials(macName) {
|
||||
try {
|
||||
// console.log('=> loadCredentials', macName)
|
||||
|
|
@ -66,31 +74,33 @@ function loadLightning(tryProxy, ownerPubkey, noCache) {
|
|||
return __awaiter(this, void 0, void 0, function* () {
|
||||
// only if specified AND available
|
||||
if (tryProxy && (0, proxy_1.isProxy)() && ownerPubkey) {
|
||||
const pl = yield (0, proxy_1.loadProxyLightning)(ownerPubkey);
|
||||
return pl;
|
||||
lightningClient = yield (0, proxy_1.loadProxyLightning)(ownerPubkey);
|
||||
if (!lightningClient) {
|
||||
throw new Error('no lightning client');
|
||||
}
|
||||
return lightningClient;
|
||||
}
|
||||
if (lightningClient && !noCache) {
|
||||
return lightningClient;
|
||||
}
|
||||
if (IS_GREENLIGHT) {
|
||||
const credentials = loadGreenlightCredentials();
|
||||
const descriptor = grpc.load('proto/greenlight.proto');
|
||||
const descriptor = (0, proto_1.loadProto)('greenlight');
|
||||
const greenlight = descriptor.greenlight;
|
||||
const options = {
|
||||
'grpc.ssl_target_name_override': 'localhost',
|
||||
};
|
||||
const uri = (0, greenlight_1.get_greenlight_grpc_uri)().split('//');
|
||||
if (!uri[1])
|
||||
return;
|
||||
lightningClient = new greenlight.Node(uri[1], credentials, options);
|
||||
return lightningClient;
|
||||
if (!uri[1]) {
|
||||
throw new Error('no lightning client');
|
||||
}
|
||||
return (lightningClient = new greenlight.Node(uri[1], credentials, options));
|
||||
}
|
||||
// LND
|
||||
const credentials = loadCredentials();
|
||||
const lnrpcDescriptor = grpc.load('proto/lightning.proto');
|
||||
const lnrpcDescriptor = (0, proto_1.loadProto)('lightning');
|
||||
const lnrpc = lnrpcDescriptor.lnrpc;
|
||||
lightningClient = new lnrpc.Lightning(LND_IP + ':' + config.lnd_port, credentials);
|
||||
return lightningClient;
|
||||
return (lightningClient = new lnrpc.Lightning(LND_IP + ':' + config.lnd_port, credentials));
|
||||
});
|
||||
}
|
||||
exports.loadLightning = loadLightning;
|
||||
|
|
@ -101,28 +111,26 @@ function loadWalletUnlocker() {
|
|||
else {
|
||||
try {
|
||||
const credentials = loadCredentials();
|
||||
const lnrpcDescriptor = grpc.load('proto/walletunlocker.proto');
|
||||
const lnrpcDescriptor = (0, proto_1.loadProto)('walletunlocker');
|
||||
const lnrpc = lnrpcDescriptor.lnrpc;
|
||||
walletUnlocker = new lnrpc.WalletUnlocker(LND_IP + ':' + config.lnd_port, credentials);
|
||||
return walletUnlocker;
|
||||
return (walletUnlocker = new lnrpc.WalletUnlocker(LND_IP + ':' + config.lnd_port, credentials));
|
||||
}
|
||||
catch (e) {
|
||||
logger_1.sphinxLogger.error(e);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
}
|
||||
exports.loadWalletUnlocker = loadWalletUnlocker;
|
||||
function unlockWallet(pwd) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const wu = yield loadWalletUnlocker();
|
||||
wu.unlockWallet({ wallet_password: ByteBuffer.fromUTF8(pwd) }, (err, response) => {
|
||||
if (err) {
|
||||
reject(err);
|
||||
return;
|
||||
}
|
||||
resolve(response);
|
||||
});
|
||||
const wu = loadWalletUnlocker();
|
||||
wu.unlockWallet({ wallet_password: Buffer.from(pwd, 'utf-8') }, (err) => {
|
||||
if (err) {
|
||||
reject(err);
|
||||
return;
|
||||
}
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -154,14 +162,14 @@ exports.setLock = setLock;
|
|||
function queryRoute(pub_key, amt, route_hint, ownerPubkey) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
logger_1.sphinxLogger.info('queryRoute', logger_1.logging.Lightning);
|
||||
if (IS_GREENLIGHT) {
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
if (isGL(lightning)) {
|
||||
// shim for now
|
||||
return {
|
||||
success_prob: 1,
|
||||
routes: [],
|
||||
};
|
||||
}
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
return new Promise((resolve, reject) => {
|
||||
// need to manually add 3 block padding
|
||||
// which is done behind the scenes in SendPayment
|
||||
|
|
@ -182,6 +190,8 @@ function queryRoute(pub_key, amt, route_hint, ownerPubkey) {
|
|||
},
|
||||
];
|
||||
}
|
||||
// TODO remove any
|
||||
;
|
||||
lightning.queryRoutes(options, (err, response) => {
|
||||
if (err) {
|
||||
reject(err);
|
||||
|
|
@ -201,6 +211,8 @@ function newAddress(type = exports.NESTED_PUBKEY_HASH) {
|
|||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const lightning = yield loadLightning();
|
||||
return new Promise((resolve, reject) => {
|
||||
// TODO now lnd only
|
||||
;
|
||||
lightning.newAddress({ type }, (err, response) => {
|
||||
if (err) {
|
||||
reject(err);
|
||||
|
|
@ -222,13 +234,13 @@ function sendPayment(payment_request, ownerPubkey) {
|
|||
logger_1.sphinxLogger.info('sendPayment', logger_1.logging.Lightning);
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
return new Promise((resolve, reject) => {
|
||||
if ((0, proxy_1.isProxy)()) {
|
||||
if ((0, proxy_1.isProxy)(lightning)) {
|
||||
const opts = {
|
||||
payment_request,
|
||||
fee_limit: { fixed: FEE_LIMIT_SAT },
|
||||
};
|
||||
lightning.sendPaymentSync(opts, (err, response) => {
|
||||
if (err) {
|
||||
if (err || !response) {
|
||||
reject(err);
|
||||
}
|
||||
else {
|
||||
|
|
@ -242,12 +254,13 @@ function sendPayment(payment_request, ownerPubkey) {
|
|||
});
|
||||
}
|
||||
else {
|
||||
if (IS_GREENLIGHT) {
|
||||
if (isGL(lightning)) {
|
||||
lightning.pay({
|
||||
bolt11: payment_request,
|
||||
timeout: 12,
|
||||
}, (err, response) => {
|
||||
if (err == null) {
|
||||
if (err == null && response) {
|
||||
// TODO greenlight types
|
||||
resolve(interfaces.keysendResponse(response));
|
||||
}
|
||||
else {
|
||||
|
|
@ -256,7 +269,7 @@ function sendPayment(payment_request, ownerPubkey) {
|
|||
});
|
||||
}
|
||||
else {
|
||||
const call = lightning.sendPayment({ payment_request });
|
||||
const call = lightning.sendPayment();
|
||||
call.on('data', (response) => __awaiter(this, void 0, void 0, function* () {
|
||||
if (response.payment_error) {
|
||||
reject(response.payment_error);
|
||||
|
|
@ -283,27 +296,26 @@ function keysend(opts, ownerPubkey) {
|
|||
return reject('keysend: invalid pubkey');
|
||||
}
|
||||
try {
|
||||
const preimage = ByteBuffer.wrap(crypto.randomBytes(32));
|
||||
const preimage = crypto.randomBytes(32);
|
||||
const dest_custom_records = {
|
||||
[`${exports.LND_KEYSEND_KEY}`]: preimage,
|
||||
};
|
||||
if (opts.extra_tlv) {
|
||||
Object.entries(opts.extra_tlv).forEach(([k, v]) => {
|
||||
dest_custom_records[k] = ByteBuffer.fromUTF8(v);
|
||||
dest_custom_records[k] = Buffer.from(v, 'utf-8');
|
||||
});
|
||||
}
|
||||
if (opts.data) {
|
||||
dest_custom_records[`${exports.SPHINX_CUSTOM_RECORD_KEY}`] = Buffer.from(opts.data, 'utf-8');
|
||||
}
|
||||
const options = {
|
||||
amt: Math.max(opts.amt, constants_1.default.min_sat_amount || 3),
|
||||
final_cltv_delta: constants_1.default.final_cltv_delta,
|
||||
dest: ByteBuffer.fromHex(opts.dest),
|
||||
dest: Buffer.from(opts.dest, 'hex'),
|
||||
dest_custom_records,
|
||||
payment_hash: sha.sha256.arrayBuffer(preimage.toBuffer()),
|
||||
payment_hash: Buffer.from(sha.sha256.arrayBuffer(preimage)),
|
||||
dest_features: [9],
|
||||
};
|
||||
if (opts.data) {
|
||||
options.dest_custom_records[`${exports.SPHINX_CUSTOM_RECORD_KEY}`] =
|
||||
ByteBuffer.fromUTF8(opts.data);
|
||||
}
|
||||
// add in route hints
|
||||
if (opts.route_hint && opts.route_hint.includes(':')) {
|
||||
const arr = opts.route_hint.split(':');
|
||||
|
|
@ -316,12 +328,12 @@ function keysend(opts, ownerPubkey) {
|
|||
];
|
||||
}
|
||||
// sphinx-proxy sendPaymentSync
|
||||
if ((0, proxy_1.isProxy)()) {
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
if ((0, proxy_1.isProxy)(lightning)) {
|
||||
// console.log("SEND sendPaymentSync", options)
|
||||
options.fee_limit = { fixed: FEE_LIMIT_SAT };
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
lightning.sendPaymentSync(options, (err, response) => {
|
||||
if (err) {
|
||||
if (err || !response) {
|
||||
reject(err);
|
||||
}
|
||||
else {
|
||||
|
|
@ -335,12 +347,24 @@ function keysend(opts, ownerPubkey) {
|
|||
});
|
||||
}
|
||||
else {
|
||||
if (IS_GREENLIGHT) {
|
||||
const lightning = yield loadLightning(false, ownerPubkey);
|
||||
const req = interfaces.keysendRequest(options);
|
||||
const lightning = yield loadLightning(false, ownerPubkey);
|
||||
if (isGL(lightning)) {
|
||||
const req = (interfaces.keysendRequest(options));
|
||||
// console.log("KEYSEND REQ", JSON.stringify(req))
|
||||
// Type 'GreenlightRoutehint[]' is not assignable to type 'Routehint[]'
|
||||
// from generated types:
|
||||
// export interface Routehint {
|
||||
// hops?: {
|
||||
// node_id?: Buffer | Uint8Array | string
|
||||
// short_channel_id?: string
|
||||
// fee_base?: number | string | Long
|
||||
// fee_prop?: number
|
||||
// cltv_expiry_delta?: number
|
||||
// }[]
|
||||
//}
|
||||
lightning.keysend(req, function (err, response) {
|
||||
if (err == null) {
|
||||
if (err == null && response) {
|
||||
// TODO greenlight type
|
||||
resolve(interfaces.keysendResponse(response));
|
||||
}
|
||||
else {
|
||||
|
|
@ -353,7 +377,7 @@ function keysend(opts, ownerPubkey) {
|
|||
// new sendPayment (with optional route hints)
|
||||
options.fee_limit_sat = FEE_LIMIT_SAT;
|
||||
options.timeout_seconds = 16;
|
||||
const router = yield loadRouter();
|
||||
const router = loadRouter();
|
||||
const call = router.sendPaymentV2(options);
|
||||
call.on('data', function (payment) {
|
||||
const state = payment.status || payment.state;
|
||||
|
|
@ -395,10 +419,9 @@ function loadRouter() {
|
|||
}
|
||||
else {
|
||||
const credentials = loadCredentials('router.macaroon');
|
||||
const descriptor = grpc.load('proto/router.proto');
|
||||
const descriptor = (0, proto_1.loadProto)('router');
|
||||
const router = descriptor.routerrpc;
|
||||
routerClient = new router.Router(LND_IP + ':' + config.lnd_port, credentials);
|
||||
return routerClient;
|
||||
return (routerClient = new router.Router(LND_IP + ':' + config.lnd_port, credentials));
|
||||
}
|
||||
}
|
||||
exports.loadRouter = loadRouter;
|
||||
|
|
@ -583,6 +606,7 @@ function signBuffer(msg, ownerPubkey) {
|
|||
logger_1.sphinxLogger.info('signBuffer', logger_1.logging.Lightning);
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
if (IS_GREENLIGHT) {
|
||||
const pld = interfaces.greenlightSignMessagePayload(msg);
|
||||
const sig = libhsmd_1.default.Handle(1024, 0, null, pld);
|
||||
|
|
@ -596,11 +620,10 @@ function signBuffer(msg, ownerPubkey) {
|
|||
const finalSig = Buffer.concat([finalRecid, sigBytes], 65);
|
||||
resolve(zbase32.encode(finalSig));
|
||||
}
|
||||
else {
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
else if (isLND(lightning)) {
|
||||
const options = { msg };
|
||||
lightning.signMessage(options, function (err, sig) {
|
||||
if (err || !sig.signature) {
|
||||
if (err || !sig || !sig.signature) {
|
||||
reject(err);
|
||||
}
|
||||
else {
|
||||
|
|
@ -627,6 +650,7 @@ function verifyMessage(msg, sig, ownerPubkey) {
|
|||
logger_1.sphinxLogger.info('verifyMessage', logger_1.logging.Lightning);
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
if (IS_GREENLIGHT) {
|
||||
const fullBytes = zbase32.decode(sig);
|
||||
const sigBytes = fullBytes.slice(1);
|
||||
|
|
@ -648,15 +672,14 @@ function verifyMessage(msg, sig, ownerPubkey) {
|
|||
pubkey: recoveredPubkey.toString('hex'),
|
||||
});
|
||||
}
|
||||
else {
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
const options = {
|
||||
msg: ByteBuffer.fromHex(msg),
|
||||
signature: sig, // zbase32 encoded string
|
||||
};
|
||||
lightning.verifyMessage(options, function (err, res) {
|
||||
else if (isLND(lightning)) {
|
||||
// sig is zbase32 encoded
|
||||
lightning.verifyMessage({
|
||||
msg: Buffer.from(msg, 'hex'),
|
||||
signature: sig,
|
||||
}, function (err, res) {
|
||||
// console.log(res)
|
||||
if (err || !res.pubkey) {
|
||||
if (err || !res || !res.pubkey) {
|
||||
reject(err);
|
||||
}
|
||||
else {
|
||||
|
|
@ -683,7 +706,8 @@ function getInfo(tryProxy, noCache) {
|
|||
// log('getInfo')
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
const lightning = yield loadLightning(tryProxy === false ? false : true, undefined, noCache); // try proxy
|
||||
// try proxy
|
||||
const lightning = yield loadLightning(tryProxy === false ? false : true, undefined, noCache);
|
||||
lightning.getInfo({}, function (err, response) {
|
||||
if (err == null) {
|
||||
resolve(interfaces.getInfoResponse(response));
|
||||
|
|
@ -726,7 +750,7 @@ function listPeers(args, ownerPubkey) {
|
|||
const lightning = yield loadLightning(true, ownerPubkey);
|
||||
const opts = interfaces.listPeersRequest(args);
|
||||
lightning.listPeers(opts, function (err, response) {
|
||||
if (err == null) {
|
||||
if (err == null && response) {
|
||||
resolve(interfaces.listPeersResponse(response));
|
||||
}
|
||||
else {
|
||||
|
|
@ -742,75 +766,112 @@ function listChannels(args, ownerPubkey) {
|
|||
logger_1.sphinxLogger.info('listChannels', logger_1.logging.Lightning);
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
const cmd = interfaces.listChannelsCommand();
|
||||
const opts = interfaces.listChannelsRequest(args);
|
||||
lightning[cmd](opts, function (err, response) {
|
||||
if (err == null) {
|
||||
resolve(interfaces.listChannelsResponse(response));
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
if (isGL(lightning)) {
|
||||
lightning.listPeers(opts, function (err, response) {
|
||||
if (err == null && response) {
|
||||
resolve(interfaces.listChannelsResponse(response));
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
else if (isLND(lightning)) {
|
||||
// TODO proxy?
|
||||
;
|
||||
lightning.listChannels(opts, function (err, response) {
|
||||
if (err == null && response) {
|
||||
resolve(interfaces.listChannelsResponse(response));
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
}));
|
||||
});
|
||||
}
|
||||
exports.listChannels = listChannels;
|
||||
// if separate fields get used in relay, it might be worth to add the types, just copy em from src/grpc/types with go to declaration of your ide
|
||||
function pendingChannels(ownerPubkey) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
logger_1.sphinxLogger.info('pendingChannels', logger_1.logging.Lightning);
|
||||
if (IS_GREENLIGHT)
|
||||
return [];
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
if (isGL(lightning)) {
|
||||
return {
|
||||
total_limbo_balance: '0',
|
||||
pending_open_channels: [],
|
||||
pending_closing_channels: [],
|
||||
pending_force_closing_channels: [],
|
||||
waiting_close_channels: [],
|
||||
};
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
// no pendingChannels on proxy??????
|
||||
;
|
||||
lightning.pendingChannels({}, function (err, response) {
|
||||
if (err == null) {
|
||||
if (err == null && response) {
|
||||
resolve(response);
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}));
|
||||
});
|
||||
});
|
||||
}
|
||||
exports.pendingChannels = pendingChannels;
|
||||
/** return void for LND, { node_id: string, features: string } for greenlight*/
|
||||
function connectPeer(args) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
logger_1.sphinxLogger.info('connectPeer', logger_1.logging.Lightning);
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
const lightning = yield loadLightning();
|
||||
const req = interfaces.connectPeerRequest(args);
|
||||
lightning.connectPeer(req, function (err, response) {
|
||||
if (err == null) {
|
||||
resolve(response);
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
if (isGL(lightning)) {
|
||||
const req = interfaces.connectPeerRequest(args);
|
||||
lightning.connectPeer(req, function (err, response) {
|
||||
if (err == null && response) {
|
||||
resolve(response);
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
else if (isLND(lightning)) {
|
||||
lightning.connectPeer(args, function (err, response) {
|
||||
if (err == null && response) {
|
||||
resolve();
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
}));
|
||||
});
|
||||
}
|
||||
exports.connectPeer = connectPeer;
|
||||
/** does nothing and returns nothing for greenlight */
|
||||
function openChannel(args) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
logger_1.sphinxLogger.info('openChannel', logger_1.logging.Lightning);
|
||||
const opts = args || {};
|
||||
if (args && args.node_pubkey) {
|
||||
opts.node_pubkey = ByteBuffer.fromHex(args.node_pubkey);
|
||||
const lightning = yield loadLightning();
|
||||
if (isGL(lightning)) {
|
||||
return;
|
||||
}
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
const lightning = yield loadLightning();
|
||||
return new Promise((resolve, reject) => {
|
||||
lightning.openChannelSync(opts, function (err, response) {
|
||||
if (err == null) {
|
||||
if (err == null && response) {
|
||||
resolve(response);
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}));
|
||||
});
|
||||
});
|
||||
}
|
||||
exports.openChannel = openChannel;
|
||||
|
|
@ -835,9 +896,11 @@ function complexBalances(ownerPubkey) {
|
|||
const response = yield channelBalance(ownerPubkey);
|
||||
return {
|
||||
reserve,
|
||||
full_balance: Math.max(0, parseInt(response.balance)),
|
||||
full_balance: response ? Math.max(0, parseInt(response.balance)) : 0,
|
||||
balance: spendableBalance,
|
||||
pending_open_balance: parseInt(response.pending_open_balance),
|
||||
pending_open_balance: response
|
||||
? parseInt(response.pending_open_balance)
|
||||
: 0,
|
||||
};
|
||||
}
|
||||
});
|
||||
|
|
@ -846,39 +909,44 @@ exports.complexBalances = complexBalances;
|
|||
function channelBalance(ownerPubkey) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
logger_1.sphinxLogger.info('channelBalance', logger_1.logging.Lightning);
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
const lightning = yield loadLightning(true, ownerPubkey); // try proxy
|
||||
if (isGL(lightning)) {
|
||||
return;
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
lightning.channelBalance({}, function (err, response) {
|
||||
if (err == null) {
|
||||
if (err == null && response) {
|
||||
resolve(response);
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}));
|
||||
});
|
||||
});
|
||||
}
|
||||
exports.channelBalance = channelBalance;
|
||||
/** returns void for greenlight */
|
||||
function getChanInfo(chan_id, tryProxy) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
// log('getChanInfo')
|
||||
if (IS_GREENLIGHT)
|
||||
return {}; // skip for now
|
||||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
||||
const lightning = yield loadLightning(tryProxy === false ? false : true); // try proxy
|
||||
if (isGL(lightning)) {
|
||||
return; // skip for now
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
if (!chan_id) {
|
||||
return reject('no chan id');
|
||||
}
|
||||
const lightning = yield loadLightning(tryProxy === false ? false : true); // try proxy
|
||||
lightning.getChanInfo({ chan_id }, function (err, response) {
|
||||
if (err == null) {
|
||||
if (err == null && response) {
|
||||
resolve(response);
|
||||
}
|
||||
else {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}));
|
||||
});
|
||||
});
|
||||
}
|
||||
exports.getChanInfo = getChanInfo;
|
||||
|
|
|
|||
2
dist/src/grpc/lightning.js.map
vendored
2
dist/src/grpc/lightning.js.map
vendored
File diff suppressed because one or more lines are too long
19
dist/src/grpc/proto.js
vendored
Normal file
19
dist/src/grpc/proto.js
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
"use strict";
|
||||
// Generated file. Do not edit. Edit the template proto.ts.template instead.
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.loadProto = void 0;
|
||||
const grpc = require("@grpc/grpc-js");
|
||||
const proto_loader_1 = require("@grpc/proto-loader");
|
||||
process.env.GRPC_SSL_CIPHER_SUITES = 'HIGH+ECDSA';
|
||||
const opts = {
|
||||
keepCase: true,
|
||||
longs: String,
|
||||
enums: String,
|
||||
defaults: true,
|
||||
oneofs: true,
|
||||
};
|
||||
function loadProto(name) {
|
||||
return grpc.loadPackageDefinition((0, proto_loader_1.loadSync)(`proto/${name}.proto`, opts));
|
||||
}
|
||||
exports.loadProto = loadProto;
|
||||
//# sourceMappingURL=proto.js.map
|
||||
1
dist/src/grpc/proto.js.map
vendored
Normal file
1
dist/src/grpc/proto.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"proto.js","sourceRoot":"","sources":["../../../src/grpc/proto.ts"],"names":[],"mappings":";AAAA,4EAA4E;;;AAE5E,sCAAqC;AACrC,qDAAsD;AAWtD,OAAO,CAAC,GAAG,CAAC,sBAAsB,GAAG,YAAY,CAAA;AAsBjD,MAAM,IAAI,GAAY;IACpB,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;CACb,CAAA;AAWD,SAAgB,SAAS,CAAC,IAAe;IACvC,OAAO,IAAI,CAAC,qBAAqB,CAC/B,IAAA,uBAAQ,EAAC,SAAS,IAAI,QAAQ,EAAE,IAAI,CAAC,CACV,CAAA;AAC/B,CAAC;AAJD,8BAIC"}
|
||||
2
dist/src/grpc/subscribe.js
vendored
2
dist/src/grpc/subscribe.js
vendored
|
|
@ -28,7 +28,7 @@ function subscribeInvoices(parseKeysendInvoice) {
|
|||
}
|
||||
const lightning = yield (0, lightning_1.loadLightning)(true, ownerPubkey); // try proxy
|
||||
const cmd = interfaces.subscribeCommand();
|
||||
const call = lightning[cmd]();
|
||||
const call = lightning[cmd]({});
|
||||
call.on('data', function (response) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
// console.log("=> INVOICE RAW", response)
|
||||
|
|
|
|||
2
dist/src/grpc/subscribe.js.map
vendored
2
dist/src/grpc/subscribe.js.map
vendored
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"subscribe.js","sourceRoot":"","sources":["../../../src/grpc/subscribe.ts"],"names":[],"mappings":"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"}
|
||||
{"version":3,"file":"subscribe.js","sourceRoot":"","sources":["../../../src/grpc/subscribe.ts"],"names":[],"mappings":"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"}
|
||||
9
dist/src/grpc/types/greenlight/BtcAddressType.js
vendored
Normal file
9
dist/src/grpc/types/greenlight/BtcAddressType.js
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
"use strict";
|
||||
// Original file: proto/greenlight.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BtcAddressType = void 0;
|
||||
exports.BtcAddressType = {
|
||||
BECH32: 'BECH32',
|
||||
P2SH_SEGWIT: 'P2SH_SEGWIT',
|
||||
};
|
||||
//# sourceMappingURL=BtcAddressType.js.map
|
||||
1
dist/src/grpc/types/greenlight/BtcAddressType.js.map
vendored
Normal file
1
dist/src/grpc/types/greenlight/BtcAddressType.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"BtcAddressType.js","sourceRoot":"","sources":["../../../../../src/grpc/types/greenlight/BtcAddressType.ts"],"names":[],"mappings":";AAAA,wCAAwC;;;AAE3B,QAAA,cAAc,GAAG;IAC5B,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;CAClB,CAAA"}
|
||||
9
dist/src/grpc/types/greenlight/CloseChannelType.js
vendored
Normal file
9
dist/src/grpc/types/greenlight/CloseChannelType.js
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
"use strict";
|
||||
// Original file: proto/greenlight.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CloseChannelType = void 0;
|
||||
exports.CloseChannelType = {
|
||||
MUTUAL: 'MUTUAL',
|
||||
UNILATERAL: 'UNILATERAL',
|
||||
};
|
||||
//# sourceMappingURL=CloseChannelType.js.map
|
||||
1
dist/src/grpc/types/greenlight/CloseChannelType.js.map
vendored
Normal file
1
dist/src/grpc/types/greenlight/CloseChannelType.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"CloseChannelType.js","sourceRoot":"","sources":["../../../../../src/grpc/types/greenlight/CloseChannelType.ts"],"names":[],"mappings":";AAAA,wCAAwC;;;AAE3B,QAAA,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;CAChB,CAAA"}
|
||||
10
dist/src/grpc/types/greenlight/FeeratePreset.js
vendored
Normal file
10
dist/src/grpc/types/greenlight/FeeratePreset.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
// Original file: proto/greenlight.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FeeratePreset = void 0;
|
||||
exports.FeeratePreset = {
|
||||
NORMAL: 'NORMAL',
|
||||
SLOW: 'SLOW',
|
||||
URGENT: 'URGENT',
|
||||
};
|
||||
//# sourceMappingURL=FeeratePreset.js.map
|
||||
1
dist/src/grpc/types/greenlight/FeeratePreset.js.map
vendored
Normal file
1
dist/src/grpc/types/greenlight/FeeratePreset.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"FeeratePreset.js","sourceRoot":"","sources":["../../../../../src/grpc/types/greenlight/FeeratePreset.ts"],"names":[],"mappings":";AAAA,wCAAwC;;;AAE3B,QAAA,aAAa,GAAG;IAC3B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAA"}
|
||||
10
dist/src/grpc/types/greenlight/InvoiceStatus.js
vendored
Normal file
10
dist/src/grpc/types/greenlight/InvoiceStatus.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
// Original file: proto/greenlight.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.InvoiceStatus = void 0;
|
||||
exports.InvoiceStatus = {
|
||||
UNPAID: 'UNPAID',
|
||||
PAID: 'PAID',
|
||||
EXPIRED: 'EXPIRED',
|
||||
};
|
||||
//# sourceMappingURL=InvoiceStatus.js.map
|
||||
1
dist/src/grpc/types/greenlight/InvoiceStatus.js.map
vendored
Normal file
1
dist/src/grpc/types/greenlight/InvoiceStatus.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"InvoiceStatus.js","sourceRoot":"","sources":["../../../../../src/grpc/types/greenlight/InvoiceStatus.ts"],"names":[],"mappings":";AAAA,wCAAwC;;;AAE3B,QAAA,aAAa,GAAG;IAC3B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;CACV,CAAA"}
|
||||
11
dist/src/grpc/types/greenlight/NetAddressType.js
vendored
Normal file
11
dist/src/grpc/types/greenlight/NetAddressType.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
// Original file: proto/greenlight.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.NetAddressType = void 0;
|
||||
exports.NetAddressType = {
|
||||
Ipv4: 'Ipv4',
|
||||
Ipv6: 'Ipv6',
|
||||
TorV2: 'TorV2',
|
||||
TorV3: 'TorV3',
|
||||
};
|
||||
//# sourceMappingURL=NetAddressType.js.map
|
||||
1
dist/src/grpc/types/greenlight/NetAddressType.js.map
vendored
Normal file
1
dist/src/grpc/types/greenlight/NetAddressType.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"NetAddressType.js","sourceRoot":"","sources":["../../../../../src/grpc/types/greenlight/NetAddressType.ts"],"names":[],"mappings":";AAAA,wCAAwC;;;AAE3B,QAAA,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;CACN,CAAA"}
|
||||
9
dist/src/grpc/types/greenlight/OutputStatus.js
vendored
Normal file
9
dist/src/grpc/types/greenlight/OutputStatus.js
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
"use strict";
|
||||
// Original file: proto/greenlight.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OutputStatus = void 0;
|
||||
exports.OutputStatus = {
|
||||
CONFIRMED: 'CONFIRMED',
|
||||
UNCONFIRMED: 'UNCONFIRMED',
|
||||
};
|
||||
//# sourceMappingURL=OutputStatus.js.map
|
||||
1
dist/src/grpc/types/greenlight/OutputStatus.js.map
vendored
Normal file
1
dist/src/grpc/types/greenlight/OutputStatus.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"OutputStatus.js","sourceRoot":"","sources":["../../../../../src/grpc/types/greenlight/OutputStatus.ts"],"names":[],"mappings":";AAAA,wCAAwC;;;AAE3B,QAAA,YAAY,GAAG;IAC1B,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;CAClB,CAAA"}
|
||||
10
dist/src/grpc/types/greenlight/PayStatus.js
vendored
Normal file
10
dist/src/grpc/types/greenlight/PayStatus.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
// Original file: proto/greenlight.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.PayStatus = void 0;
|
||||
exports.PayStatus = {
|
||||
PENDING: 'PENDING',
|
||||
COMPLETE: 'COMPLETE',
|
||||
FAILED: 'FAILED',
|
||||
};
|
||||
//# sourceMappingURL=PayStatus.js.map
|
||||
1
dist/src/grpc/types/greenlight/PayStatus.js.map
vendored
Normal file
1
dist/src/grpc/types/greenlight/PayStatus.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"PayStatus.js","sourceRoot":"","sources":["../../../../../src/grpc/types/greenlight/PayStatus.ts"],"names":[],"mappings":";AAAA,wCAAwC;;;AAE3B,QAAA,SAAS,GAAG;IACvB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACR,CAAA"}
|
||||
13
dist/src/grpc/types/lnrpc/AddressType.js
vendored
Normal file
13
dist/src/grpc/types/lnrpc/AddressType.js
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AddressType = void 0;
|
||||
exports.AddressType = {
|
||||
WITNESS_PUBKEY_HASH: 'WITNESS_PUBKEY_HASH',
|
||||
NESTED_PUBKEY_HASH: 'NESTED_PUBKEY_HASH',
|
||||
UNUSED_WITNESS_PUBKEY_HASH: 'UNUSED_WITNESS_PUBKEY_HASH',
|
||||
UNUSED_NESTED_PUBKEY_HASH: 'UNUSED_NESTED_PUBKEY_HASH',
|
||||
TAPROOT_PUBKEY: 'TAPROOT_PUBKEY',
|
||||
UNUSED_TAPROOT_PUBKEY: 'UNUSED_TAPROOT_PUBKEY',
|
||||
};
|
||||
//# sourceMappingURL=AddressType.js.map
|
||||
1
dist/src/grpc/types/lnrpc/AddressType.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/AddressType.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"AddressType.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/AddressType.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,WAAW,GAAG;IACzB,mBAAmB,EAAE,qBAAqB;IAC1C,kBAAkB,EAAE,oBAAoB;IACxC,0BAA0B,EAAE,4BAA4B;IACxD,yBAAyB,EAAE,2BAA2B;IACtD,cAAc,EAAE,gBAAgB;IAChC,qBAAqB,EAAE,uBAAuB;CACtC,CAAA"}
|
||||
4
dist/src/grpc/types/lnrpc/Channel.js
vendored
Normal file
4
dist/src/grpc/types/lnrpc/Channel.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=Channel.js.map
|
||||
1
dist/src/grpc/types/lnrpc/Channel.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/Channel.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Channel.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/Channel.ts"],"names":[],"mappings":";AAAA,uCAAuC"}
|
||||
14
dist/src/grpc/types/lnrpc/ChannelCloseSummary.js
vendored
Normal file
14
dist/src/grpc/types/lnrpc/ChannelCloseSummary.js
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_ChannelCloseSummary_ClosureType = void 0;
|
||||
// Original file: proto/lightning.proto
|
||||
exports._lnrpc_ChannelCloseSummary_ClosureType = {
|
||||
COOPERATIVE_CLOSE: 'COOPERATIVE_CLOSE',
|
||||
LOCAL_FORCE_CLOSE: 'LOCAL_FORCE_CLOSE',
|
||||
REMOTE_FORCE_CLOSE: 'REMOTE_FORCE_CLOSE',
|
||||
BREACH_CLOSE: 'BREACH_CLOSE',
|
||||
FUNDING_CANCELED: 'FUNDING_CANCELED',
|
||||
ABANDONED: 'ABANDONED',
|
||||
};
|
||||
//# sourceMappingURL=ChannelCloseSummary.js.map
|
||||
1
dist/src/grpc/types/lnrpc/ChannelCloseSummary.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/ChannelCloseSummary.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ChannelCloseSummary.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/ChannelCloseSummary.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAYvC,uCAAuC;AAE1B,QAAA,sCAAsC,GAAG;IACpD,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,kBAAkB,EAAE,oBAAoB;IACxC,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,SAAS,EAAE,WAAW;CACd,CAAA"}
|
||||
14
dist/src/grpc/types/lnrpc/ChannelEventUpdate.js
vendored
Normal file
14
dist/src/grpc/types/lnrpc/ChannelEventUpdate.js
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_ChannelEventUpdate_UpdateType = void 0;
|
||||
// Original file: proto/lightning.proto
|
||||
exports._lnrpc_ChannelEventUpdate_UpdateType = {
|
||||
OPEN_CHANNEL: 'OPEN_CHANNEL',
|
||||
CLOSED_CHANNEL: 'CLOSED_CHANNEL',
|
||||
ACTIVE_CHANNEL: 'ACTIVE_CHANNEL',
|
||||
INACTIVE_CHANNEL: 'INACTIVE_CHANNEL',
|
||||
PENDING_OPEN_CHANNEL: 'PENDING_OPEN_CHANNEL',
|
||||
FULLY_RESOLVED_CHANNEL: 'FULLY_RESOLVED_CHANNEL',
|
||||
};
|
||||
//# sourceMappingURL=ChannelEventUpdate.js.map
|
||||
1
dist/src/grpc/types/lnrpc/ChannelEventUpdate.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/ChannelEventUpdate.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ChannelEventUpdate.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/ChannelEventUpdate.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAmBvC,uCAAuC;AAE1B,QAAA,oCAAoC,GAAG;IAClD,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,gBAAgB,EAAE,kBAAkB;IACpC,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;CACxC,CAAA"}
|
||||
12
dist/src/grpc/types/lnrpc/CommitmentType.js
vendored
Normal file
12
dist/src/grpc/types/lnrpc/CommitmentType.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CommitmentType = void 0;
|
||||
exports.CommitmentType = {
|
||||
UNKNOWN_COMMITMENT_TYPE: 'UNKNOWN_COMMITMENT_TYPE',
|
||||
LEGACY: 'LEGACY',
|
||||
STATIC_REMOTE_KEY: 'STATIC_REMOTE_KEY',
|
||||
ANCHORS: 'ANCHORS',
|
||||
SCRIPT_ENFORCED_LEASE: 'SCRIPT_ENFORCED_LEASE',
|
||||
};
|
||||
//# sourceMappingURL=CommitmentType.js.map
|
||||
1
dist/src/grpc/types/lnrpc/CommitmentType.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/CommitmentType.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"CommitmentType.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/CommitmentType.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,cAAc,GAAG;IAC5B,uBAAuB,EAAE,yBAAyB;IAClD,MAAM,EAAE,QAAQ;IAChB,iBAAiB,EAAE,mBAAmB;IACtC,OAAO,EAAE,SAAS;IAClB,qBAAqB,EAAE,uBAAuB;CACtC,CAAA"}
|
||||
36
dist/src/grpc/types/lnrpc/Failure.js
vendored
Normal file
36
dist/src/grpc/types/lnrpc/Failure.js
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_Failure_FailureCode = void 0;
|
||||
// Original file: proto/lightning.proto
|
||||
exports._lnrpc_Failure_FailureCode = {
|
||||
RESERVED: 'RESERVED',
|
||||
INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS: 'INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS',
|
||||
INCORRECT_PAYMENT_AMOUNT: 'INCORRECT_PAYMENT_AMOUNT',
|
||||
FINAL_INCORRECT_CLTV_EXPIRY: 'FINAL_INCORRECT_CLTV_EXPIRY',
|
||||
FINAL_INCORRECT_HTLC_AMOUNT: 'FINAL_INCORRECT_HTLC_AMOUNT',
|
||||
FINAL_EXPIRY_TOO_SOON: 'FINAL_EXPIRY_TOO_SOON',
|
||||
INVALID_REALM: 'INVALID_REALM',
|
||||
EXPIRY_TOO_SOON: 'EXPIRY_TOO_SOON',
|
||||
INVALID_ONION_VERSION: 'INVALID_ONION_VERSION',
|
||||
INVALID_ONION_HMAC: 'INVALID_ONION_HMAC',
|
||||
INVALID_ONION_KEY: 'INVALID_ONION_KEY',
|
||||
AMOUNT_BELOW_MINIMUM: 'AMOUNT_BELOW_MINIMUM',
|
||||
FEE_INSUFFICIENT: 'FEE_INSUFFICIENT',
|
||||
INCORRECT_CLTV_EXPIRY: 'INCORRECT_CLTV_EXPIRY',
|
||||
CHANNEL_DISABLED: 'CHANNEL_DISABLED',
|
||||
TEMPORARY_CHANNEL_FAILURE: 'TEMPORARY_CHANNEL_FAILURE',
|
||||
REQUIRED_NODE_FEATURE_MISSING: 'REQUIRED_NODE_FEATURE_MISSING',
|
||||
REQUIRED_CHANNEL_FEATURE_MISSING: 'REQUIRED_CHANNEL_FEATURE_MISSING',
|
||||
UNKNOWN_NEXT_PEER: 'UNKNOWN_NEXT_PEER',
|
||||
TEMPORARY_NODE_FAILURE: 'TEMPORARY_NODE_FAILURE',
|
||||
PERMANENT_NODE_FAILURE: 'PERMANENT_NODE_FAILURE',
|
||||
PERMANENT_CHANNEL_FAILURE: 'PERMANENT_CHANNEL_FAILURE',
|
||||
EXPIRY_TOO_FAR: 'EXPIRY_TOO_FAR',
|
||||
MPP_TIMEOUT: 'MPP_TIMEOUT',
|
||||
INVALID_ONION_PAYLOAD: 'INVALID_ONION_PAYLOAD',
|
||||
INTERNAL_FAILURE: 'INTERNAL_FAILURE',
|
||||
UNKNOWN_FAILURE: 'UNKNOWN_FAILURE',
|
||||
UNREADABLE_FAILURE: 'UNREADABLE_FAILURE',
|
||||
};
|
||||
//# sourceMappingURL=Failure.js.map
|
||||
1
dist/src/grpc/types/lnrpc/Failure.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/Failure.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Failure.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/Failure.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAQvC,uCAAuC;AAE1B,QAAA,0BAA0B,GAAG;IACxC,QAAQ,EAAE,UAAU;IACpB,oCAAoC,EAAE,sCAAsC;IAC5E,wBAAwB,EAAE,0BAA0B;IACpD,2BAA2B,EAAE,6BAA6B;IAC1D,2BAA2B,EAAE,6BAA6B;IAC1D,qBAAqB,EAAE,uBAAuB;IAC9C,aAAa,EAAE,eAAe;IAC9B,eAAe,EAAE,iBAAiB;IAClC,qBAAqB,EAAE,uBAAuB;IAC9C,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,oBAAoB,EAAE,sBAAsB;IAC5C,gBAAgB,EAAE,kBAAkB;IACpC,qBAAqB,EAAE,uBAAuB;IAC9C,gBAAgB,EAAE,kBAAkB;IACpC,yBAAyB,EAAE,2BAA2B;IACtD,6BAA6B,EAAE,+BAA+B;IAC9D,gCAAgC,EAAE,kCAAkC;IACpE,iBAAiB,EAAE,mBAAmB;IACtC,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,yBAAyB,EAAE,2BAA2B;IACtD,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,qBAAqB,EAAE,uBAAuB;IAC9C,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,kBAAkB,EAAE,oBAAoB;CAChC,CAAA"}
|
||||
32
dist/src/grpc/types/lnrpc/FeatureBit.js
vendored
Normal file
32
dist/src/grpc/types/lnrpc/FeatureBit.js
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FeatureBit = void 0;
|
||||
exports.FeatureBit = {
|
||||
DATALOSS_PROTECT_REQ: 'DATALOSS_PROTECT_REQ',
|
||||
DATALOSS_PROTECT_OPT: 'DATALOSS_PROTECT_OPT',
|
||||
INITIAL_ROUING_SYNC: 'INITIAL_ROUING_SYNC',
|
||||
UPFRONT_SHUTDOWN_SCRIPT_REQ: 'UPFRONT_SHUTDOWN_SCRIPT_REQ',
|
||||
UPFRONT_SHUTDOWN_SCRIPT_OPT: 'UPFRONT_SHUTDOWN_SCRIPT_OPT',
|
||||
GOSSIP_QUERIES_REQ: 'GOSSIP_QUERIES_REQ',
|
||||
GOSSIP_QUERIES_OPT: 'GOSSIP_QUERIES_OPT',
|
||||
TLV_ONION_REQ: 'TLV_ONION_REQ',
|
||||
TLV_ONION_OPT: 'TLV_ONION_OPT',
|
||||
EXT_GOSSIP_QUERIES_REQ: 'EXT_GOSSIP_QUERIES_REQ',
|
||||
EXT_GOSSIP_QUERIES_OPT: 'EXT_GOSSIP_QUERIES_OPT',
|
||||
STATIC_REMOTE_KEY_REQ: 'STATIC_REMOTE_KEY_REQ',
|
||||
STATIC_REMOTE_KEY_OPT: 'STATIC_REMOTE_KEY_OPT',
|
||||
PAYMENT_ADDR_REQ: 'PAYMENT_ADDR_REQ',
|
||||
PAYMENT_ADDR_OPT: 'PAYMENT_ADDR_OPT',
|
||||
MPP_REQ: 'MPP_REQ',
|
||||
MPP_OPT: 'MPP_OPT',
|
||||
WUMBO_CHANNELS_REQ: 'WUMBO_CHANNELS_REQ',
|
||||
WUMBO_CHANNELS_OPT: 'WUMBO_CHANNELS_OPT',
|
||||
ANCHORS_REQ: 'ANCHORS_REQ',
|
||||
ANCHORS_OPT: 'ANCHORS_OPT',
|
||||
ANCHORS_ZERO_FEE_HTLC_REQ: 'ANCHORS_ZERO_FEE_HTLC_REQ',
|
||||
ANCHORS_ZERO_FEE_HTLC_OPT: 'ANCHORS_ZERO_FEE_HTLC_OPT',
|
||||
AMP_REQ: 'AMP_REQ',
|
||||
AMP_OPT: 'AMP_OPT',
|
||||
};
|
||||
//# sourceMappingURL=FeatureBit.js.map
|
||||
1
dist/src/grpc/types/lnrpc/FeatureBit.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/FeatureBit.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"FeatureBit.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/FeatureBit.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,UAAU,GAAG;IACxB,oBAAoB,EAAE,sBAAsB;IAC5C,oBAAoB,EAAE,sBAAsB;IAC5C,mBAAmB,EAAE,qBAAqB;IAC1C,2BAA2B,EAAE,6BAA6B;IAC1D,2BAA2B,EAAE,6BAA6B;IAC1D,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,oBAAoB;IACxC,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,qBAAqB,EAAE,uBAAuB;IAC9C,qBAAqB,EAAE,uBAAuB;IAC9C,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,oBAAoB;IACxC,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,yBAAyB,EAAE,2BAA2B;IACtD,yBAAyB,EAAE,2BAA2B;IACtD,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAA"}
|
||||
11
dist/src/grpc/types/lnrpc/HTLCAttempt.js
vendored
Normal file
11
dist/src/grpc/types/lnrpc/HTLCAttempt.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_HTLCAttempt_HTLCStatus = void 0;
|
||||
// Original file: proto/lightning.proto
|
||||
exports._lnrpc_HTLCAttempt_HTLCStatus = {
|
||||
IN_FLIGHT: 'IN_FLIGHT',
|
||||
SUCCEEDED: 'SUCCEEDED',
|
||||
FAILED: 'FAILED',
|
||||
};
|
||||
//# sourceMappingURL=HTLCAttempt.js.map
|
||||
1
dist/src/grpc/types/lnrpc/HTLCAttempt.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/HTLCAttempt.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"HTLCAttempt.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/HTLCAttempt.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAYvC,uCAAuC;AAE1B,QAAA,6BAA6B,GAAG;IAC3C,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAA"}
|
||||
11
dist/src/grpc/types/lnrpc/Initiator.js
vendored
Normal file
11
dist/src/grpc/types/lnrpc/Initiator.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Initiator = void 0;
|
||||
exports.Initiator = {
|
||||
INITIATOR_UNKNOWN: 'INITIATOR_UNKNOWN',
|
||||
INITIATOR_LOCAL: 'INITIATOR_LOCAL',
|
||||
INITIATOR_REMOTE: 'INITIATOR_REMOTE',
|
||||
INITIATOR_BOTH: 'INITIATOR_BOTH',
|
||||
};
|
||||
//# sourceMappingURL=Initiator.js.map
|
||||
1
dist/src/grpc/types/lnrpc/Initiator.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/Initiator.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Initiator.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/Initiator.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,SAAS,GAAG;IACvB,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;CACxB,CAAA"}
|
||||
12
dist/src/grpc/types/lnrpc/Invoice.js
vendored
Normal file
12
dist/src/grpc/types/lnrpc/Invoice.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_Invoice_InvoiceState = void 0;
|
||||
// Original file: proto/lightning.proto
|
||||
exports._lnrpc_Invoice_InvoiceState = {
|
||||
OPEN: 'OPEN',
|
||||
SETTLED: 'SETTLED',
|
||||
CANCELED: 'CANCELED',
|
||||
ACCEPTED: 'ACCEPTED',
|
||||
};
|
||||
//# sourceMappingURL=Invoice.js.map
|
||||
1
dist/src/grpc/types/lnrpc/Invoice.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/Invoice.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/Invoice.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAoBvC,uCAAuC;AAE1B,QAAA,2BAA2B,GAAG;IACzC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACZ,CAAA"}
|
||||
10
dist/src/grpc/types/lnrpc/InvoiceHTLCState.js
vendored
Normal file
10
dist/src/grpc/types/lnrpc/InvoiceHTLCState.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.InvoiceHTLCState = void 0;
|
||||
exports.InvoiceHTLCState = {
|
||||
ACCEPTED: 'ACCEPTED',
|
||||
SETTLED: 'SETTLED',
|
||||
CANCELED: 'CANCELED',
|
||||
};
|
||||
//# sourceMappingURL=InvoiceHTLCState.js.map
|
||||
1
dist/src/grpc/types/lnrpc/InvoiceHTLCState.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/InvoiceHTLCState.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"InvoiceHTLCState.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/InvoiceHTLCState.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAA"}
|
||||
9
dist/src/grpc/types/lnrpc/NodeMetricType.js
vendored
Normal file
9
dist/src/grpc/types/lnrpc/NodeMetricType.js
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.NodeMetricType = void 0;
|
||||
exports.NodeMetricType = {
|
||||
UNKNOWN: 'UNKNOWN',
|
||||
BETWEENNESS_CENTRALITY: 'BETWEENNESS_CENTRALITY',
|
||||
};
|
||||
//# sourceMappingURL=NodeMetricType.js.map
|
||||
1
dist/src/grpc/types/lnrpc/NodeMetricType.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/NodeMetricType.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"NodeMetricType.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/NodeMetricType.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,SAAS;IAClB,sBAAsB,EAAE,wBAAwB;CACxC,CAAA"}
|
||||
17
dist/src/grpc/types/lnrpc/OutputScriptType.js
vendored
Normal file
17
dist/src/grpc/types/lnrpc/OutputScriptType.js
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OutputScriptType = void 0;
|
||||
exports.OutputScriptType = {
|
||||
SCRIPT_TYPE_PUBKEY_HASH: 'SCRIPT_TYPE_PUBKEY_HASH',
|
||||
SCRIPT_TYPE_SCRIPT_HASH: 'SCRIPT_TYPE_SCRIPT_HASH',
|
||||
SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH: 'SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH',
|
||||
SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH: 'SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH',
|
||||
SCRIPT_TYPE_PUBKEY: 'SCRIPT_TYPE_PUBKEY',
|
||||
SCRIPT_TYPE_MULTISIG: 'SCRIPT_TYPE_MULTISIG',
|
||||
SCRIPT_TYPE_NULLDATA: 'SCRIPT_TYPE_NULLDATA',
|
||||
SCRIPT_TYPE_NON_STANDARD: 'SCRIPT_TYPE_NON_STANDARD',
|
||||
SCRIPT_TYPE_WITNESS_UNKNOWN: 'SCRIPT_TYPE_WITNESS_UNKNOWN',
|
||||
SCRIPT_TYPE_WITNESS_V1_TAPROOT: 'SCRIPT_TYPE_WITNESS_V1_TAPROOT',
|
||||
};
|
||||
//# sourceMappingURL=OutputScriptType.js.map
|
||||
1
dist/src/grpc/types/lnrpc/OutputScriptType.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/OutputScriptType.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"OutputScriptType.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/OutputScriptType.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB,EAAE,yBAAyB;IAClD,uBAAuB,EAAE,yBAAyB;IAClD,kCAAkC,EAAE,oCAAoC;IACxE,kCAAkC,EAAE,oCAAoC;IACxE,kBAAkB,EAAE,oBAAoB;IACxC,oBAAoB,EAAE,sBAAsB;IAC5C,oBAAoB,EAAE,sBAAsB;IAC5C,wBAAwB,EAAE,0BAA0B;IACpD,2BAA2B,EAAE,6BAA6B;IAC1D,8BAA8B,EAAE,gCAAgC;CACxD,CAAA"}
|
||||
12
dist/src/grpc/types/lnrpc/Payment.js
vendored
Normal file
12
dist/src/grpc/types/lnrpc/Payment.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_Payment_PaymentStatus = void 0;
|
||||
// Original file: proto/lightning.proto
|
||||
exports._lnrpc_Payment_PaymentStatus = {
|
||||
UNKNOWN: 'UNKNOWN',
|
||||
IN_FLIGHT: 'IN_FLIGHT',
|
||||
SUCCEEDED: 'SUCCEEDED',
|
||||
FAILED: 'FAILED',
|
||||
};
|
||||
//# sourceMappingURL=Payment.js.map
|
||||
1
dist/src/grpc/types/lnrpc/Payment.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/Payment.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/Payment.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAYvC,uCAAuC;AAE1B,QAAA,4BAA4B,GAAG;IAC1C,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAA"}
|
||||
13
dist/src/grpc/types/lnrpc/PaymentFailureReason.js
vendored
Normal file
13
dist/src/grpc/types/lnrpc/PaymentFailureReason.js
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.PaymentFailureReason = void 0;
|
||||
exports.PaymentFailureReason = {
|
||||
FAILURE_REASON_NONE: 'FAILURE_REASON_NONE',
|
||||
FAILURE_REASON_TIMEOUT: 'FAILURE_REASON_TIMEOUT',
|
||||
FAILURE_REASON_NO_ROUTE: 'FAILURE_REASON_NO_ROUTE',
|
||||
FAILURE_REASON_ERROR: 'FAILURE_REASON_ERROR',
|
||||
FAILURE_REASON_INCORRECT_PAYMENT_DETAILS: 'FAILURE_REASON_INCORRECT_PAYMENT_DETAILS',
|
||||
FAILURE_REASON_INSUFFICIENT_BALANCE: 'FAILURE_REASON_INSUFFICIENT_BALANCE',
|
||||
};
|
||||
//# sourceMappingURL=PaymentFailureReason.js.map
|
||||
1
dist/src/grpc/types/lnrpc/PaymentFailureReason.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/PaymentFailureReason.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"PaymentFailureReason.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/PaymentFailureReason.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,oBAAoB,GAAG;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,sBAAsB,EAAE,wBAAwB;IAChD,uBAAuB,EAAE,yBAAyB;IAClD,oBAAoB,EAAE,sBAAsB;IAC5C,wCAAwC,EACtC,0CAA0C;IAC5C,mCAAmC,EAAE,qCAAqC;CAClE,CAAA"}
|
||||
12
dist/src/grpc/types/lnrpc/Peer.js
vendored
Normal file
12
dist/src/grpc/types/lnrpc/Peer.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_Peer_SyncType = void 0;
|
||||
// Original file: proto/lightning.proto
|
||||
exports._lnrpc_Peer_SyncType = {
|
||||
UNKNOWN_SYNC: 'UNKNOWN_SYNC',
|
||||
ACTIVE_SYNC: 'ACTIVE_SYNC',
|
||||
PASSIVE_SYNC: 'PASSIVE_SYNC',
|
||||
PINNED_SYNC: 'PINNED_SYNC',
|
||||
};
|
||||
//# sourceMappingURL=Peer.js.map
|
||||
1
dist/src/grpc/types/lnrpc/Peer.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/Peer.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Peer.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/Peer.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAYvC,uCAAuC;AAE1B,QAAA,oBAAoB,GAAG;IAClC,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;CAClB,CAAA"}
|
||||
10
dist/src/grpc/types/lnrpc/PeerEvent.js
vendored
Normal file
10
dist/src/grpc/types/lnrpc/PeerEvent.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_PeerEvent_EventType = void 0;
|
||||
// Original file: proto/lightning.proto
|
||||
exports._lnrpc_PeerEvent_EventType = {
|
||||
PEER_ONLINE: 'PEER_ONLINE',
|
||||
PEER_OFFLINE: 'PEER_OFFLINE',
|
||||
};
|
||||
//# sourceMappingURL=PeerEvent.js.map
|
||||
1
dist/src/grpc/types/lnrpc/PeerEvent.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/PeerEvent.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"PeerEvent.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/PeerEvent.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,uCAAuC;AAE1B,QAAA,0BAA0B,GAAG;IACxC,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;CACpB,CAAA"}
|
||||
11
dist/src/grpc/types/lnrpc/PendingChannelsResponse.js
vendored
Normal file
11
dist/src/grpc/types/lnrpc/PendingChannelsResponse.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_PendingChannelsResponse_ForceClosedChannel_AnchorState = void 0;
|
||||
// Original file: proto/lightning.proto
|
||||
exports._lnrpc_PendingChannelsResponse_ForceClosedChannel_AnchorState = {
|
||||
LIMBO: 'LIMBO',
|
||||
RECOVERED: 'RECOVERED',
|
||||
LOST: 'LOST',
|
||||
};
|
||||
//# sourceMappingURL=PendingChannelsResponse.js.map
|
||||
1
dist/src/grpc/types/lnrpc/PendingChannelsResponse.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/PendingChannelsResponse.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"PendingChannelsResponse.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/PendingChannelsResponse.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAgBvC,uCAAuC;AAE1B,QAAA,6DAA6D,GAAG;IAC3E,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;CACJ,CAAA"}
|
||||
13
dist/src/grpc/types/lnrpc/ResolutionOutcome.js
vendored
Normal file
13
dist/src/grpc/types/lnrpc/ResolutionOutcome.js
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ResolutionOutcome = void 0;
|
||||
exports.ResolutionOutcome = {
|
||||
OUTCOME_UNKNOWN: 'OUTCOME_UNKNOWN',
|
||||
CLAIMED: 'CLAIMED',
|
||||
UNCLAIMED: 'UNCLAIMED',
|
||||
ABANDONED: 'ABANDONED',
|
||||
FIRST_STAGE: 'FIRST_STAGE',
|
||||
TIMEOUT: 'TIMEOUT',
|
||||
};
|
||||
//# sourceMappingURL=ResolutionOutcome.js.map
|
||||
1
dist/src/grpc/types/lnrpc/ResolutionOutcome.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/ResolutionOutcome.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ResolutionOutcome.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/ResolutionOutcome.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,iBAAiB,GAAG;IAC/B,eAAe,EAAE,iBAAiB;IAClC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;CACV,CAAA"}
|
||||
12
dist/src/grpc/types/lnrpc/ResolutionType.js
vendored
Normal file
12
dist/src/grpc/types/lnrpc/ResolutionType.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ResolutionType = void 0;
|
||||
exports.ResolutionType = {
|
||||
TYPE_UNKNOWN: 'TYPE_UNKNOWN',
|
||||
ANCHOR: 'ANCHOR',
|
||||
INCOMING_HTLC: 'INCOMING_HTLC',
|
||||
OUTGOING_HTLC: 'OUTGOING_HTLC',
|
||||
COMMIT: 'COMMIT',
|
||||
};
|
||||
//# sourceMappingURL=ResolutionType.js.map
|
||||
1
dist/src/grpc/types/lnrpc/ResolutionType.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/ResolutionType.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ResolutionType.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/ResolutionType.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,cAAc,GAAG;IAC5B,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;CACR,CAAA"}
|
||||
12
dist/src/grpc/types/lnrpc/UpdateFailure.js
vendored
Normal file
12
dist/src/grpc/types/lnrpc/UpdateFailure.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
// Original file: proto/lightning.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.UpdateFailure = void 0;
|
||||
exports.UpdateFailure = {
|
||||
UPDATE_FAILURE_UNKNOWN: 'UPDATE_FAILURE_UNKNOWN',
|
||||
UPDATE_FAILURE_PENDING: 'UPDATE_FAILURE_PENDING',
|
||||
UPDATE_FAILURE_NOT_FOUND: 'UPDATE_FAILURE_NOT_FOUND',
|
||||
UPDATE_FAILURE_INTERNAL_ERR: 'UPDATE_FAILURE_INTERNAL_ERR',
|
||||
UPDATE_FAILURE_INVALID_PARAMETER: 'UPDATE_FAILURE_INVALID_PARAMETER',
|
||||
};
|
||||
//# sourceMappingURL=UpdateFailure.js.map
|
||||
1
dist/src/grpc/types/lnrpc/UpdateFailure.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc/UpdateFailure.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"UpdateFailure.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc/UpdateFailure.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,aAAa,GAAG;IAC3B,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,wBAAwB,EAAE,0BAA0B;IACpD,2BAA2B,EAAE,6BAA6B;IAC1D,gCAAgC,EAAE,kCAAkC;CAC5D,CAAA"}
|
||||
4
dist/src/grpc/types/lnrpc_proxy/Channel.js
vendored
Normal file
4
dist/src/grpc/types/lnrpc_proxy/Channel.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
"use strict";
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=Channel.js.map
|
||||
1
dist/src/grpc/types/lnrpc_proxy/Channel.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc_proxy/Channel.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Channel.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc_proxy/Channel.ts"],"names":[],"mappings":";AAAA,uCAAuC"}
|
||||
11
dist/src/grpc/types/lnrpc_proxy/CommitmentType.js
vendored
Normal file
11
dist/src/grpc/types/lnrpc_proxy/CommitmentType.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CommitmentType = void 0;
|
||||
exports.CommitmentType = {
|
||||
LEGACY: 'LEGACY',
|
||||
STATIC_REMOTE_KEY: 'STATIC_REMOTE_KEY',
|
||||
ANCHORS: 'ANCHORS',
|
||||
UNKNOWN_COMMITMENT_TYPE: 'UNKNOWN_COMMITMENT_TYPE',
|
||||
};
|
||||
//# sourceMappingURL=CommitmentType.js.map
|
||||
1
dist/src/grpc/types/lnrpc_proxy/CommitmentType.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc_proxy/CommitmentType.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"CommitmentType.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc_proxy/CommitmentType.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,cAAc,GAAG;IAC5B,MAAM,EAAE,QAAQ;IAChB,iBAAiB,EAAE,mBAAmB;IACtC,OAAO,EAAE,SAAS;IAClB,uBAAuB,EAAE,yBAAyB;CAC1C,CAAA"}
|
||||
35
dist/src/grpc/types/lnrpc_proxy/Failure.js
vendored
Normal file
35
dist/src/grpc/types/lnrpc_proxy/Failure.js
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
"use strict";
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_proxy_Failure_FailureCode = void 0;
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
exports._lnrpc_proxy_Failure_FailureCode = {
|
||||
RESERVED: 'RESERVED',
|
||||
INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS: 'INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS',
|
||||
INCORRECT_PAYMENT_AMOUNT: 'INCORRECT_PAYMENT_AMOUNT',
|
||||
FINAL_INCORRECT_CLTV_EXPIRY: 'FINAL_INCORRECT_CLTV_EXPIRY',
|
||||
FINAL_INCORRECT_HTLC_AMOUNT: 'FINAL_INCORRECT_HTLC_AMOUNT',
|
||||
FINAL_EXPIRY_TOO_SOON: 'FINAL_EXPIRY_TOO_SOON',
|
||||
INVALID_REALM: 'INVALID_REALM',
|
||||
EXPIRY_TOO_SOON: 'EXPIRY_TOO_SOON',
|
||||
INVALID_ONION_VERSION: 'INVALID_ONION_VERSION',
|
||||
INVALID_ONION_HMAC: 'INVALID_ONION_HMAC',
|
||||
INVALID_ONION_KEY: 'INVALID_ONION_KEY',
|
||||
AMOUNT_BELOW_MINIMUM: 'AMOUNT_BELOW_MINIMUM',
|
||||
FEE_INSUFFICIENT: 'FEE_INSUFFICIENT',
|
||||
INCORRECT_CLTV_EXPIRY: 'INCORRECT_CLTV_EXPIRY',
|
||||
CHANNEL_DISABLED: 'CHANNEL_DISABLED',
|
||||
TEMPORARY_CHANNEL_FAILURE: 'TEMPORARY_CHANNEL_FAILURE',
|
||||
REQUIRED_NODE_FEATURE_MISSING: 'REQUIRED_NODE_FEATURE_MISSING',
|
||||
REQUIRED_CHANNEL_FEATURE_MISSING: 'REQUIRED_CHANNEL_FEATURE_MISSING',
|
||||
UNKNOWN_NEXT_PEER: 'UNKNOWN_NEXT_PEER',
|
||||
TEMPORARY_NODE_FAILURE: 'TEMPORARY_NODE_FAILURE',
|
||||
PERMANENT_NODE_FAILURE: 'PERMANENT_NODE_FAILURE',
|
||||
PERMANENT_CHANNEL_FAILURE: 'PERMANENT_CHANNEL_FAILURE',
|
||||
EXPIRY_TOO_FAR: 'EXPIRY_TOO_FAR',
|
||||
MPP_TIMEOUT: 'MPP_TIMEOUT',
|
||||
INTERNAL_FAILURE: 'INTERNAL_FAILURE',
|
||||
UNKNOWN_FAILURE: 'UNKNOWN_FAILURE',
|
||||
UNREADABLE_FAILURE: 'UNREADABLE_FAILURE',
|
||||
};
|
||||
//# sourceMappingURL=Failure.js.map
|
||||
1
dist/src/grpc/types/lnrpc_proxy/Failure.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc_proxy/Failure.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Failure.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc_proxy/Failure.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAQvC,uCAAuC;AAE1B,QAAA,gCAAgC,GAAG;IAC9C,QAAQ,EAAE,UAAU;IACpB,oCAAoC,EAAE,sCAAsC;IAC5E,wBAAwB,EAAE,0BAA0B;IACpD,2BAA2B,EAAE,6BAA6B;IAC1D,2BAA2B,EAAE,6BAA6B;IAC1D,qBAAqB,EAAE,uBAAuB;IAC9C,aAAa,EAAE,eAAe;IAC9B,eAAe,EAAE,iBAAiB;IAClC,qBAAqB,EAAE,uBAAuB;IAC9C,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,oBAAoB,EAAE,sBAAsB;IAC5C,gBAAgB,EAAE,kBAAkB;IACpC,qBAAqB,EAAE,uBAAuB;IAC9C,gBAAgB,EAAE,kBAAkB;IACpC,yBAAyB,EAAE,2BAA2B;IACtD,6BAA6B,EAAE,+BAA+B;IAC9D,gCAAgC,EAAE,kCAAkC;IACpE,iBAAiB,EAAE,mBAAmB;IACtC,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,yBAAyB,EAAE,2BAA2B;IACtD,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,kBAAkB,EAAE,oBAAoB;CAChC,CAAA"}
|
||||
24
dist/src/grpc/types/lnrpc_proxy/FeatureBit.js
vendored
Normal file
24
dist/src/grpc/types/lnrpc_proxy/FeatureBit.js
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
"use strict";
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FeatureBit = void 0;
|
||||
exports.FeatureBit = {
|
||||
DATALOSS_PROTECT_REQ: 'DATALOSS_PROTECT_REQ',
|
||||
DATALOSS_PROTECT_OPT: 'DATALOSS_PROTECT_OPT',
|
||||
INITIAL_ROUING_SYNC: 'INITIAL_ROUING_SYNC',
|
||||
UPFRONT_SHUTDOWN_SCRIPT_REQ: 'UPFRONT_SHUTDOWN_SCRIPT_REQ',
|
||||
UPFRONT_SHUTDOWN_SCRIPT_OPT: 'UPFRONT_SHUTDOWN_SCRIPT_OPT',
|
||||
GOSSIP_QUERIES_REQ: 'GOSSIP_QUERIES_REQ',
|
||||
GOSSIP_QUERIES_OPT: 'GOSSIP_QUERIES_OPT',
|
||||
TLV_ONION_REQ: 'TLV_ONION_REQ',
|
||||
TLV_ONION_OPT: 'TLV_ONION_OPT',
|
||||
EXT_GOSSIP_QUERIES_REQ: 'EXT_GOSSIP_QUERIES_REQ',
|
||||
EXT_GOSSIP_QUERIES_OPT: 'EXT_GOSSIP_QUERIES_OPT',
|
||||
STATIC_REMOTE_KEY_REQ: 'STATIC_REMOTE_KEY_REQ',
|
||||
STATIC_REMOTE_KEY_OPT: 'STATIC_REMOTE_KEY_OPT',
|
||||
PAYMENT_ADDR_REQ: 'PAYMENT_ADDR_REQ',
|
||||
PAYMENT_ADDR_OPT: 'PAYMENT_ADDR_OPT',
|
||||
MPP_REQ: 'MPP_REQ',
|
||||
MPP_OPT: 'MPP_OPT',
|
||||
};
|
||||
//# sourceMappingURL=FeatureBit.js.map
|
||||
1
dist/src/grpc/types/lnrpc_proxy/FeatureBit.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc_proxy/FeatureBit.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"FeatureBit.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc_proxy/FeatureBit.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,UAAU,GAAG;IACxB,oBAAoB,EAAE,sBAAsB;IAC5C,oBAAoB,EAAE,sBAAsB;IAC5C,mBAAmB,EAAE,qBAAqB;IAC1C,2BAA2B,EAAE,6BAA6B;IAC1D,2BAA2B,EAAE,6BAA6B;IAC1D,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,oBAAoB;IACxC,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,qBAAqB,EAAE,uBAAuB;IAC9C,qBAAqB,EAAE,uBAAuB;IAC9C,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAA"}
|
||||
11
dist/src/grpc/types/lnrpc_proxy/HTLCAttempt.js
vendored
Normal file
11
dist/src/grpc/types/lnrpc_proxy/HTLCAttempt.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_proxy_HTLCAttempt_HTLCStatus = void 0;
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
exports._lnrpc_proxy_HTLCAttempt_HTLCStatus = {
|
||||
IN_FLIGHT: 'IN_FLIGHT',
|
||||
SUCCEEDED: 'SUCCEEDED',
|
||||
FAILED: 'FAILED',
|
||||
};
|
||||
//# sourceMappingURL=HTLCAttempt.js.map
|
||||
1
dist/src/grpc/types/lnrpc_proxy/HTLCAttempt.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc_proxy/HTLCAttempt.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"HTLCAttempt.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc_proxy/HTLCAttempt.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAYvC,uCAAuC;AAE1B,QAAA,mCAAmC,GAAG;IACjD,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAA"}
|
||||
12
dist/src/grpc/types/lnrpc_proxy/Invoice.js
vendored
Normal file
12
dist/src/grpc/types/lnrpc_proxy/Invoice.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_proxy_Invoice_InvoiceState = void 0;
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
exports._lnrpc_proxy_Invoice_InvoiceState = {
|
||||
OPEN: 'OPEN',
|
||||
SETTLED: 'SETTLED',
|
||||
CANCELED: 'CANCELED',
|
||||
ACCEPTED: 'ACCEPTED',
|
||||
};
|
||||
//# sourceMappingURL=Invoice.js.map
|
||||
1
dist/src/grpc/types/lnrpc_proxy/Invoice.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc_proxy/Invoice.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc_proxy/Invoice.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAgBvC,uCAAuC;AAE1B,QAAA,iCAAiC,GAAG;IAC/C,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACZ,CAAA"}
|
||||
10
dist/src/grpc/types/lnrpc_proxy/InvoiceHTLCState.js
vendored
Normal file
10
dist/src/grpc/types/lnrpc_proxy/InvoiceHTLCState.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.InvoiceHTLCState = void 0;
|
||||
exports.InvoiceHTLCState = {
|
||||
ACCEPTED: 'ACCEPTED',
|
||||
SETTLED: 'SETTLED',
|
||||
CANCELED: 'CANCELED',
|
||||
};
|
||||
//# sourceMappingURL=InvoiceHTLCState.js.map
|
||||
1
dist/src/grpc/types/lnrpc_proxy/InvoiceHTLCState.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc_proxy/InvoiceHTLCState.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"InvoiceHTLCState.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc_proxy/InvoiceHTLCState.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAA"}
|
||||
12
dist/src/grpc/types/lnrpc_proxy/Payment.js
vendored
Normal file
12
dist/src/grpc/types/lnrpc_proxy/Payment.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._lnrpc_proxy_Payment_PaymentStatus = void 0;
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
exports._lnrpc_proxy_Payment_PaymentStatus = {
|
||||
UNKNOWN: 'UNKNOWN',
|
||||
IN_FLIGHT: 'IN_FLIGHT',
|
||||
SUCCEEDED: 'SUCCEEDED',
|
||||
FAILED: 'FAILED',
|
||||
};
|
||||
//# sourceMappingURL=Payment.js.map
|
||||
1
dist/src/grpc/types/lnrpc_proxy/Payment.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc_proxy/Payment.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc_proxy/Payment.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAYvC,uCAAuC;AAE1B,QAAA,kCAAkC,GAAG;IAChD,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAA"}
|
||||
13
dist/src/grpc/types/lnrpc_proxy/PaymentFailureReason.js
vendored
Normal file
13
dist/src/grpc/types/lnrpc_proxy/PaymentFailureReason.js
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
// Original file: proto/rpc_proxy.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.PaymentFailureReason = void 0;
|
||||
exports.PaymentFailureReason = {
|
||||
FAILURE_REASON_NONE: 'FAILURE_REASON_NONE',
|
||||
FAILURE_REASON_TIMEOUT: 'FAILURE_REASON_TIMEOUT',
|
||||
FAILURE_REASON_NO_ROUTE: 'FAILURE_REASON_NO_ROUTE',
|
||||
FAILURE_REASON_ERROR: 'FAILURE_REASON_ERROR',
|
||||
FAILURE_REASON_INCORRECT_PAYMENT_DETAILS: 'FAILURE_REASON_INCORRECT_PAYMENT_DETAILS',
|
||||
FAILURE_REASON_INSUFFICIENT_BALANCE: 'FAILURE_REASON_INSUFFICIENT_BALANCE',
|
||||
};
|
||||
//# sourceMappingURL=PaymentFailureReason.js.map
|
||||
1
dist/src/grpc/types/lnrpc_proxy/PaymentFailureReason.js.map
vendored
Normal file
1
dist/src/grpc/types/lnrpc_proxy/PaymentFailureReason.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"PaymentFailureReason.js","sourceRoot":"","sources":["../../../../../src/grpc/types/lnrpc_proxy/PaymentFailureReason.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,oBAAoB,GAAG;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,sBAAsB,EAAE,wBAAwB;IAChD,uBAAuB,EAAE,yBAAyB;IAClD,oBAAoB,EAAE,sBAAsB;IAC5C,wCAAwC,EACtC,0CAA0C;IAC5C,mCAAmC,EAAE,qCAAqC;CAClE,CAAA"}
|
||||
10
dist/src/grpc/types/routerrpc/ChanStatusAction.js
vendored
Normal file
10
dist/src/grpc/types/routerrpc/ChanStatusAction.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
// Original file: proto/router.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ChanStatusAction = void 0;
|
||||
exports.ChanStatusAction = {
|
||||
ENABLE: 'ENABLE',
|
||||
DISABLE: 'DISABLE',
|
||||
AUTO: 'AUTO',
|
||||
};
|
||||
//# sourceMappingURL=ChanStatusAction.js.map
|
||||
1
dist/src/grpc/types/routerrpc/ChanStatusAction.js.map
vendored
Normal file
1
dist/src/grpc/types/routerrpc/ChanStatusAction.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ChanStatusAction.js","sourceRoot":"","sources":["../../../../../src/grpc/types/routerrpc/ChanStatusAction.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AAEvB,QAAA,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACJ,CAAA"}
|
||||
30
dist/src/grpc/types/routerrpc/FailureDetail.js
vendored
Normal file
30
dist/src/grpc/types/routerrpc/FailureDetail.js
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
"use strict";
|
||||
// Original file: proto/router.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FailureDetail = void 0;
|
||||
exports.FailureDetail = {
|
||||
UNKNOWN: 'UNKNOWN',
|
||||
NO_DETAIL: 'NO_DETAIL',
|
||||
ONION_DECODE: 'ONION_DECODE',
|
||||
LINK_NOT_ELIGIBLE: 'LINK_NOT_ELIGIBLE',
|
||||
ON_CHAIN_TIMEOUT: 'ON_CHAIN_TIMEOUT',
|
||||
HTLC_EXCEEDS_MAX: 'HTLC_EXCEEDS_MAX',
|
||||
INSUFFICIENT_BALANCE: 'INSUFFICIENT_BALANCE',
|
||||
INCOMPLETE_FORWARD: 'INCOMPLETE_FORWARD',
|
||||
HTLC_ADD_FAILED: 'HTLC_ADD_FAILED',
|
||||
FORWARDS_DISABLED: 'FORWARDS_DISABLED',
|
||||
INVOICE_CANCELED: 'INVOICE_CANCELED',
|
||||
INVOICE_UNDERPAID: 'INVOICE_UNDERPAID',
|
||||
INVOICE_EXPIRY_TOO_SOON: 'INVOICE_EXPIRY_TOO_SOON',
|
||||
INVOICE_NOT_OPEN: 'INVOICE_NOT_OPEN',
|
||||
MPP_INVOICE_TIMEOUT: 'MPP_INVOICE_TIMEOUT',
|
||||
ADDRESS_MISMATCH: 'ADDRESS_MISMATCH',
|
||||
SET_TOTAL_MISMATCH: 'SET_TOTAL_MISMATCH',
|
||||
SET_TOTAL_TOO_LOW: 'SET_TOTAL_TOO_LOW',
|
||||
SET_OVERPAID: 'SET_OVERPAID',
|
||||
UNKNOWN_INVOICE: 'UNKNOWN_INVOICE',
|
||||
INVALID_KEYSEND: 'INVALID_KEYSEND',
|
||||
MPP_IN_PROGRESS: 'MPP_IN_PROGRESS',
|
||||
CIRCULAR_ROUTE: 'CIRCULAR_ROUTE',
|
||||
};
|
||||
//# sourceMappingURL=FailureDetail.js.map
|
||||
1
dist/src/grpc/types/routerrpc/FailureDetail.js.map
vendored
Normal file
1
dist/src/grpc/types/routerrpc/FailureDetail.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"FailureDetail.js","sourceRoot":"","sources":["../../../../../src/grpc/types/routerrpc/FailureDetail.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AAEvB,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;IAC5B,iBAAiB,EAAE,mBAAmB;IACtC,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,oBAAoB,EAAE,sBAAsB;IAC5C,kBAAkB,EAAE,oBAAoB;IACxC,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,uBAAuB,EAAE,yBAAyB;IAClD,gBAAgB,EAAE,kBAAkB;IACpC,mBAAmB,EAAE,qBAAqB;IAC1C,gBAAgB,EAAE,kBAAkB;IACpC,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,eAAe,EAAE,iBAAiB;IAClC,eAAe,EAAE,iBAAiB;IAClC,cAAc,EAAE,gBAAgB;CACxB,CAAA"}
|
||||
12
dist/src/grpc/types/routerrpc/HtlcEvent.js
vendored
Normal file
12
dist/src/grpc/types/routerrpc/HtlcEvent.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
// Original file: proto/router.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._routerrpc_HtlcEvent_EventType = void 0;
|
||||
// Original file: proto/router.proto
|
||||
exports._routerrpc_HtlcEvent_EventType = {
|
||||
UNKNOWN: 'UNKNOWN',
|
||||
SEND: 'SEND',
|
||||
RECEIVE: 'RECEIVE',
|
||||
FORWARD: 'FORWARD',
|
||||
};
|
||||
//# sourceMappingURL=HtlcEvent.js.map
|
||||
1
dist/src/grpc/types/routerrpc/HtlcEvent.js.map
vendored
Normal file
1
dist/src/grpc/types/routerrpc/HtlcEvent.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"HtlcEvent.js","sourceRoot":"","sources":["../../../../../src/grpc/types/routerrpc/HtlcEvent.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AA4BpC,oCAAoC;AAEvB,QAAA,8BAA8B,GAAG;IAC5C,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAA"}
|
||||
14
dist/src/grpc/types/routerrpc/PaymentState.js
vendored
Normal file
14
dist/src/grpc/types/routerrpc/PaymentState.js
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
"use strict";
|
||||
// Original file: proto/router.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.PaymentState = void 0;
|
||||
exports.PaymentState = {
|
||||
IN_FLIGHT: 'IN_FLIGHT',
|
||||
SUCCEEDED: 'SUCCEEDED',
|
||||
FAILED_TIMEOUT: 'FAILED_TIMEOUT',
|
||||
FAILED_NO_ROUTE: 'FAILED_NO_ROUTE',
|
||||
FAILED_ERROR: 'FAILED_ERROR',
|
||||
FAILED_INCORRECT_PAYMENT_DETAILS: 'FAILED_INCORRECT_PAYMENT_DETAILS',
|
||||
FAILED_INSUFFICIENT_BALANCE: 'FAILED_INSUFFICIENT_BALANCE',
|
||||
};
|
||||
//# sourceMappingURL=PaymentState.js.map
|
||||
1
dist/src/grpc/types/routerrpc/PaymentState.js.map
vendored
Normal file
1
dist/src/grpc/types/routerrpc/PaymentState.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"PaymentState.js","sourceRoot":"","sources":["../../../../../src/grpc/types/routerrpc/PaymentState.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AAEvB,QAAA,YAAY,GAAG;IAC1B,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,YAAY,EAAE,cAAc;IAC5B,gCAAgC,EAAE,kCAAkC;IACpE,2BAA2B,EAAE,6BAA6B;CAClD,CAAA"}
|
||||
10
dist/src/grpc/types/routerrpc/ResolveHoldForwardAction.js
vendored
Normal file
10
dist/src/grpc/types/routerrpc/ResolveHoldForwardAction.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
// Original file: proto/router.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ResolveHoldForwardAction = void 0;
|
||||
exports.ResolveHoldForwardAction = {
|
||||
SETTLE: 'SETTLE',
|
||||
FAIL: 'FAIL',
|
||||
RESUME: 'RESUME',
|
||||
};
|
||||
//# sourceMappingURL=ResolveHoldForwardAction.js.map
|
||||
1
dist/src/grpc/types/routerrpc/ResolveHoldForwardAction.js.map
vendored
Normal file
1
dist/src/grpc/types/routerrpc/ResolveHoldForwardAction.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ResolveHoldForwardAction.js","sourceRoot":"","sources":["../../../../../src/grpc/types/routerrpc/ResolveHoldForwardAction.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AAEvB,QAAA,wBAAwB,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAA"}
|
||||
9
dist/src/grpc/types/scheduler/ChallengeScope.js
vendored
Normal file
9
dist/src/grpc/types/scheduler/ChallengeScope.js
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
"use strict";
|
||||
// Original file: proto/scheduler.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ChallengeScope = void 0;
|
||||
exports.ChallengeScope = {
|
||||
REGISTER: 'REGISTER',
|
||||
RECOVER: 'RECOVER',
|
||||
};
|
||||
//# sourceMappingURL=ChallengeScope.js.map
|
||||
1
dist/src/grpc/types/scheduler/ChallengeScope.js.map
vendored
Normal file
1
dist/src/grpc/types/scheduler/ChallengeScope.js.map
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ChallengeScope.js","sourceRoot":"","sources":["../../../../../src/grpc/types/scheduler/ChallengeScope.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,cAAc,GAAG;IAC5B,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACV,CAAA"}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue