Skip to content

Commit

Permalink
misc: esplora config
Browse files Browse the repository at this point in the history
  • Loading branch information
reez authored Feb 10, 2024
1 parent 23ab443 commit 893925b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class LightningNodeService {
let config = Config(
storageDirPath: storageManager.getDocumentsDirectory(),
network: network,
listeningAddresses: ["0.0.0.0:9735"],
listeningAddresses: nil,
defaultCltvExpiryDelta: UInt32(144),
onchainWalletSyncIntervalSecs: UInt64(60),
walletSyncIntervalSecs: UInt64(20),
Expand Down Expand Up @@ -135,7 +135,7 @@ class LightningNodeService {
channelAmountSats: UInt64,
pushToCounterpartyMsat: UInt64?,
channelConfig: ChannelConfig?,
announceChannel: Bool = true
announceChannel: Bool = false
) async throws {
try ldkNode.connectOpenChannel(
nodeId: nodeId,
Expand Down
2 changes: 0 additions & 2 deletions LDKNodeMonday/Utilities/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ struct Constants {
struct EsploraServerURLNetwork {
struct Bitcoin {
static let blockstream = "https://blockstream.info/api"
static let kuutamo = "https://esplora.kuutamo.cloud"
static let mempoolspace = "https://mempool.space/api"
static let allValues = [
blockstream,
kuutamo,
mempoolspace,
]
}
Expand Down

0 comments on commit 893925b

Please sign in to comment.