-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathindex.js
331 lines (330 loc) · 11.4 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
const {addAdvertisedFeature} = require('lightning');
const {addExternalSocket} = require('lightning');
const {addPeer} = require('lightning');
const {authenticatedLndGrpc} = require('lightning');
const {beginGroupSigningSession} = require('lightning');
const {broadcastChainTransaction} = require('lightning');
const {cancelHodlInvoice} = require('lightning');
const {cancelPendingChannel} = require('lightning');
const {changePassword} = require('lightning');
const {closeChannel} = require('lightning');
const {connectWatchtower} = require('lightning');
const {createChainAddress} = require('lightning');
const {createFundedPsbt} = require('lightning');
const {createHodlInvoice} = require('lightning');
const {createInvoice} = require('lightning');
const {createSeed} = require('lightning');
const {createSignedRequest} = require('invoices');
const {createUnsignedRequest} = require('invoices');
const {createWallet} = require('lightning');
const {decodePaymentRequest} = require('lightning');
const {deleteChainTransaction} = require('lightning');
const {deleteForwardingReputations} = require('lightning');
const {deleteFailedPayAttempts} = require('lightning');
const {deleteFailedPayments} = require('lightning');
const {deletePayment} = require('lightning');
const {deletePayments} = require('lightning');
const {deletePendingChannel} = require('lightning');
const {diffieHellmanComputeSecret} = require('lightning');
const {disableChannel} = require('lightning');
const {disconnectWatchtower} = require('lightning');
const {enableChannel} = require('lightning');
const {endGroupSigningSession} = require('lightning');
const {fundPendingChannels} = require('lightning');
const {fundPsbt} = require('lightning');
const {getAccessIds} = require('lightning');
const {getAutopilot} = require('lightning');
const {getBackup} = require('lightning');
const {getBackups} = require('lightning');
const {getBlock} = require('lightning');
const {getBlockHeader} = require('lightning');
const {getChainAddresses} = require('lightning');
const {getChainBalance} = require('lightning');
const {getChainFeeEstimate} = require('lightning');
const {getChainFeeRate} = require('lightning');
const {getChainTransaction} = require('lightning');
const {getChainTransactions} = require('lightning');
const {getChannel} = require('lightning');
const {getChannelBalance} = require('lightning');
const {getChannels} = require('lightning');
const {getClosedChannels} = require('lightning');
const {getConfiguration} = require('lightning');
const {getConnectedWatchtowers} = require('lightning');
const {getEphemeralChannelIds} = require('lightning');
const {getFailedPayments} = require('lightning');
const {getFeeRates} = require('lightning');
const {getForwardingConfidence} = require('lightning');
const {getForwardingReputations} = require('lightning');
const {getForwards} = require('lightning');
const {getHeight} = require('lightning');
const {getIdentity} = require('lightning');
const {getInvoice} = require('lightning');
const {getInvoices} = require('lightning');
const {getLockedUtxos} = require('lightning');
const {getMasterPublicKeys} = require('lightning');
const {getMethods} = require('lightning');
const {getMinimumRelayFee} = require('lightning');
const {getNetworkCentrality} = require('lightning');
const {getNetworkGraph} = require('lightning');
const {getNetworkInfo} = require('lightning');
const {getNode} = require('lightning');
const {getPathfindingSettings} = require('lightning');
const {getPayment} = require('lightning');
const {getPayments} = require('lightning');
const {getPeers} = require('lightning');
const {getPendingChainBalance} = require('lightning');
const {getPendingChannels} = require('lightning');
const {getPendingPayments} = require('lightning');
const {getPendingSweeps} = require('lightning');
const {getPublicKey} = require('lightning');
const {getRouteConfidence} = require('lightning');
const {getRouteThroughHops} = require('lightning');
const {getRouteToDestination} = require('lightning');
const {getSettlementStatus} = require('lightning');
const {getSweepTransactions} = require('lightning');
const {getTowerServerInfo} = require('lightning');
const {getUtxos} = require('lightning');
const {getWalletInfo} = require('lightning');
const {getWalletStatus} = require('lightning');
const {getWalletVersion} = require('lightning');
const {grantAccess} = require('lightning');
const {isDestinationPayable} = require('lightning');
const {lockUtxo} = require('lightning');
const {openChannel} = require('lightning');
const {openChannels} = require('lightning');
const {parsePaymentRequest} = require('invoices');
const {partiallySignPsbt} = require('lightning');
const {pay} = require('lightning');
const {payViaPaymentDetails} = require('lightning');
const {payViaPaymentRequest} = require('lightning');
const {payViaRoutes} = require('lightning');
const {prepareForChannelProposal} = require('lightning');
const {probeForRoute} = require('lightning');
const {proposeChannel} = require('lightning');
const {recoverFundsFromChannel} = require('lightning');
const {recoverFundsFromChannels} = require('lightning');
const {removeAdvertisedFeature} = require('lightning');
const {removeExternalSocket} = require('lightning');
const {removePeer} = require('lightning');
const {requestBatchedFeeIncrease} = require('lightning');
const {requestChainFeeIncrease} = require('lightning');
const {restrictMacaroon} = require('./macaroons');
const {revokeAccess} = require('lightning');
const {routeFromChannels} = require('bolt07');
const {sendMessageToPeer} = require('lightning');
const {sendToChainAddress} = require('lightning');
const {sendToChainAddresses} = require('lightning');
const {sendToChainOutputScripts} = require('lightning');
const {setAutopilot} = require('lightning');
const {settleHodlInvoice} = require('lightning');
const {signBytes} = require('lightning');
const {signChainAddressMessage} = require('lightning');
const {signMessage} = require('lightning');
const {signPsbt} = require('lightning');
const {signTransaction} = require('lightning');
const {stopDaemon} = require('lightning');
const {subscribeToBackups} = require('lightning');
const {subscribeToBlocks} = require('lightning');
const {subscribeToChainAddress} = require('lightning');
const {subscribeToChainSpend} = require('lightning');
const {subscribeToChannels} = require('lightning');
const {subscribeToForwardRequests} = require('lightning');
const {subscribeToForwards} = require('lightning');
const {subscribeToGraph} = require('lightning');
const {subscribeToInvoice} = require('lightning');
const {subscribeToInvoices} = require('lightning');
const {subscribeToOpenRequests} = require('lightning');
const {subscribeToPastPayment} = require('lightning');
const {subscribeToPastPayments} = require('lightning');
const {subscribeToPayViaDetails} = require('lightning');
const {subscribeToPayViaRequest} = require('lightning');
const {subscribeToPayViaRoutes} = require('lightning');
const {subscribeToPayments} = require('lightning');
const {subscribeToPeerMessages} = require('lightning');
const {subscribeToPeers} = require('lightning');
const {subscribeToProbeForRoute} = require('lightning');
const {subscribeToRpcRequests} = require('lightning');
const {subscribeToTransactions} = require('lightning');
const {subscribeToWalletStatus} = require('lightning');
const {unauthenticatedLndGrpc} = require('lightning');
const {unlockUtxo} = require('lightning');
const {unlockWallet} = require('lightning');
const {updateAlias} = require('lightning');
const {updateChainTransaction} = require('lightning');
const {updateColor} = require('lightning');
const {updateConnectedWatchtower} = require('lightning');
const {updateGroupSigningSession} = require('lightning');
const {updatePathfindingSettings} = require('lightning');
const {updateRoutingFees} = require('lightning');
const {verifyAccess} = require('lightning');
const {verifyBackup} = require('lightning');
const {verifyBackups} = require('lightning');
const {verifyBytesSignature} = require('lightning');
const {verifyChainAddressMessage} = require('lightning');
const {verifyMessage} = require('lightning');
module.exports = {
addAdvertisedFeature,
addExternalSocket,
addPeer,
authenticatedLndGrpc,
beginGroupSigningSession,
broadcastChainTransaction,
cancelHodlInvoice,
cancelPendingChannel,
changePassword,
closeChannel,
connectWatchtower,
createChainAddress,
createFundedPsbt,
createHodlInvoice,
createInvoice,
createSeed,
createSignedRequest,
createUnsignedRequest,
createWallet,
decodePaymentRequest,
deleteChainTransaction,
deleteFailedPayAttempts,
deleteFailedPayments,
deleteForwardingReputations,
deletePayment,
deletePayments,
deletePendingChannel,
diffieHellmanComputeSecret,
disableChannel,
disconnectWatchtower,
enableChannel,
endGroupSigningSession,
fundPendingChannels,
fundPsbt,
getAccessIds,
getAutopilot,
getBackup,
getBackups,
getBlock,
getBlockHeader,
getChainAddresses,
getChainBalance,
getChainFeeEstimate,
getChainFeeRate,
getChainTransaction,
getChainTransactions,
getChannel,
getChannelBalance,
getChannels,
getClosedChannels,
getConfiguration,
getConnectedWatchtowers,
getEphemeralChannelIds,
getFailedPayments,
getFeeRates,
getForwardingConfidence,
getForwardingReputations,
getForwards,
getHeight,
getIdentity,
getInvoice,
getInvoices,
getLockedUtxos,
getMasterPublicKeys,
getMethods,
getMinimumRelayFee,
getNetworkCentrality,
getNetworkGraph,
getNetworkInfo,
getNode,
getPathfindingSettings,
getPayment,
getPayments,
getPeers,
getPendingChainBalance,
getPendingChannels,
getPendingPayments,
getPendingSweeps,
getPublicKey,
getRouteConfidence,
getRouteThroughHops,
getRouteToDestination,
getSettlementStatus,
getSweepTransactions,
getTowerServerInfo,
getUtxos,
getWalletInfo,
getWalletStatus,
getWalletVersion,
grantAccess,
isDestinationPayable,
lockUtxo,
openChannel,
openChannels,
parsePaymentRequest,
partiallySignPsbt,
pay,
payViaPaymentDetails,
payViaPaymentRequest,
payViaRoutes,
prepareForChannelProposal,
probeForRoute,
proposeChannel,
recoverFundsFromChannel,
recoverFundsFromChannels,
removeAdvertisedFeature,
removeExternalSocket,
removePeer,
requestBatchedFeeIncrease,
requestChainFeeIncrease,
restrictMacaroon,
revokeAccess,
routeFromChannels,
sendMessageToPeer,
sendToChainAddress,
sendToChainAddresses,
sendToChainOutputScripts,
setAutopilot,
settleHodlInvoice,
signBytes,
signChainAddressMessage,
signMessage,
signPsbt,
signTransaction,
stopDaemon,
subscribeToBackups,
subscribeToBlocks,
subscribeToChainAddress,
subscribeToChainSpend,
subscribeToChannels,
subscribeToForwardRequests,
subscribeToForwards,
subscribeToGraph,
subscribeToInvoice,
subscribeToInvoices,
subscribeToOpenRequests,
subscribeToPastPayment,
subscribeToPastPayments,
subscribeToPayViaDetails,
subscribeToPayViaRequest,
subscribeToPayViaRoutes,
subscribeToPayments,
subscribeToPeerMessages,
subscribeToPeers,
subscribeToProbeForRoute,
subscribeToRpcRequests,
subscribeToTransactions,
subscribeToWalletStatus,
unauthenticatedLndGrpc,
unlockUtxo,
unlockWallet,
updateAlias,
updateChainTransaction,
updateColor,
updateConnectedWatchtower,
updateGroupSigningSession,
updatePathfindingSettings,
updateRoutingFees,
verifyAccess,
verifyBackup,
verifyBackups,
verifyBytesSignature,
verifyChainAddressMessage,
verifyMessage,
};