JimmyMow
7 years ago
committed by
GitHub
61 changed files with 62 additions and 63 deletions
@ -1,5 +1,5 @@ |
|||||
import config from './config' |
import config from './config' |
||||
import walletUnlocker from './lib/walletUnlocker' |
import walletUnlocker from './walletUnlocker' |
||||
import walletUnlockerMethods from './walletUnlockerMethods' |
import walletUnlockerMethods from './walletUnlockerMethods' |
||||
// use mainLog because lndLog is reserved for the lnd binary itself
|
// use mainLog because lndLog is reserved for the lnd binary itself
|
||||
import { mainLog } from '../utils/log' |
import { mainLog } from '../utils/log' |
@ -1,12 +1,12 @@ |
|||||
import grpc from 'grpc' |
import grpc from 'grpc' |
||||
import { loadSync } from '@grpc/proto-loader' |
import { loadSync } from '@grpc/proto-loader' |
||||
import config from '../config' |
import config from './config' |
||||
import { getDeadline, validateHost, createSslCreds, createMacaroonCreds } from './util' |
import { getDeadline, validateHost, createSslCreds, createMacaroonCreds } from './util' |
||||
import methods from '../methods' |
import methods from './methods' |
||||
import { mainLog } from '../../utils/log' |
import { mainLog } from '../utils/log' |
||||
import subscribeToTransactions from '../subscribe/transactions' |
import subscribeToTransactions from './subscribe/transactions' |
||||
import subscribeToInvoices from '../subscribe/invoices' |
import subscribeToInvoices from './subscribe/invoices' |
||||
import subscribeToChannelGraph from '../subscribe/channelgraph' |
import subscribeToChannelGraph from './subscribe/channelgraph' |
||||
|
|
||||
/** |
/** |
||||
* Creates an LND grpc client lightning service. |
* Creates an LND grpc client lightning service. |
@ -1,8 +1,8 @@ |
|||||
import split2 from 'split2' |
import split2 from 'split2' |
||||
import { spawn } from 'child_process' |
import { spawn } from 'child_process' |
||||
import EventEmitter from 'events' |
import EventEmitter from 'events' |
||||
import config from '../config' |
import config from './config' |
||||
import { mainLog, lndLog, lndLogGetLevel } from '../../utils/log' |
import { mainLog, lndLog, lndLogGetLevel } from '../utils/log' |
||||
import { fetchBlockHeight } from './util' |
import { fetchBlockHeight } from './util' |
||||
|
|
||||
// Sync statuses
|
// Sync statuses
|
@ -1,7 +1,7 @@ |
|||||
import fs from 'fs' |
import fs from 'fs' |
||||
import grpc from 'grpc' |
import grpc from 'grpc' |
||||
import { loadSync } from '@grpc/proto-loader' |
import { loadSync } from '@grpc/proto-loader' |
||||
import config from '../config' |
import config from './config' |
||||
|
|
||||
const walletUnlocker = (rpcpath, host) => { |
const walletUnlocker = (rpcpath, host) => { |
||||
const lndConfig = config.lnd() |
const lndConfig = config.lnd() |
@ -1,11 +1,11 @@ |
|||||
import { app, ipcMain, dialog } from 'electron' |
import { app, ipcMain, dialog } from 'electron' |
||||
import Store from 'electron-store' |
import Store from 'electron-store' |
||||
import StateMachine from 'javascript-state-machine' |
import StateMachine from 'javascript-state-machine' |
||||
import lnd from './lnd' |
import lnd from '../lnd' |
||||
import Neutrino from './lnd/lib/neutrino' |
import Neutrino from '../lnd/neutrino' |
||||
import Lightning from './lnd/lib/lightning' |
import Lightning from '../lnd/lightning' |
||||
import { mainLog } from './utils/log' |
import { mainLog } from '../utils/log' |
||||
import { isLndRunning } from './lnd/lib/util' |
import { isLndRunning } from '../lnd/util' |
||||
|
|
||||
const grpcSslCipherSuites = connectionType => |
const grpcSslCipherSuites = connectionType => |
||||
(connectionType === 'btcpayserver' |
(connectionType === 'btcpayserver' |
@ -1,7 +1,7 @@ |
|||||
// @flow
|
// @flow
|
||||
import { app, Menu, shell, BrowserWindow } from 'electron' |
import { app, Menu, shell, BrowserWindow } from 'electron' |
||||
|
|
||||
export default class MenuBuilder { |
export default class ZapMenuBuilder { |
||||
mainWindow: BrowserWindow |
mainWindow: BrowserWindow |
||||
|
|
||||
constructor(mainWindow: BrowserWindow) { |
constructor(mainWindow: BrowserWindow) { |
@ -1,6 +1,6 @@ |
|||||
import { dialog } from 'electron' |
import { dialog } from 'electron' |
||||
import { autoUpdater } from 'electron-updater' |
import { autoUpdater } from 'electron-updater' |
||||
import { updaterLog } from './utils/log' |
import { updaterLog } from '../utils/log' |
||||
|
|
||||
autoUpdater.logger = updaterLog |
autoUpdater.logger = updaterLog |
||||
|
|
Loading…
Reference in new issue