Skip to content

Commit 7ffabc1

Browse files
authored
Merge pull request #246 from benthecarman/update-ldk-node
Expose background probing service
2 parents a622333 + 007f21b commit 7ffabc1

10 files changed

Lines changed: 624 additions & 105 deletions

File tree

Cargo.lock

Lines changed: 44 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/ldk-server-config.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,23 @@ alias = "ldk_server" # Lightning node alias
99
#rgs_server_url = "https://rapidsync.lightningdevkit.org/snapshot/v2/" # Optional: RGS URL for rapid gossip sync
1010
#async_payments_role = "client" # Optional async payments role: "client" or "server"
1111

12+
# Background probing service (optional)
13+
# CAUTION: Probes send real HTLCs and can lock outbound liquidity until they time out.
14+
# See docs/configuration.md for complete field descriptions.
15+
# Set only the field required by the selected strategy.
16+
# "high_degree" requires top_node_count. "random_walk" requires max_hops.
17+
#[probing]
18+
#strategy = "high_degree" # Required. No default. See the strategy recommendations in the documentation.
19+
#top_node_count = 100 # Required for "high_degree". No default. Start with 100.
20+
# max_hops must be at least 2. LDK Node changes values greater than 19 to 19.
21+
#max_hops = 5 # Required for "random_walk". No default. Start with 5.
22+
#interval_secs = 10 # Time between probe attempts (default: 10 seconds)
23+
# Built-in probes use at least 1000000 msat before routing fees. Lower limits prevent all probes.
24+
#max_locked_msat = 100000000 # Maximum total in-flight probe liquidity (default: 100k sats)
25+
# This virtual scorer cost is not paid. It decreases to zero over 24 hours.
26+
#diversity_penalty_msat = 250 # Optional. Only affects "high_degree".
27+
#cooldown_secs = 3600 # Node re-probe cooldown for "high_degree" (default: 1 hour)
28+
1229
# Storage settings
1330
[storage.disk]
1431
dir_path = "/tmp/ldk-server/" # Path for LDK and BDK data persistence, optional, defaults to ~/Library/Application Support/ldk-server/ on macOS, ~/.ldk-server/ on Linux

0 commit comments

Comments
 (0)