Skip to content

Commit 528ed6f

Browse files
committed
feat: add routing fee estimation
Add estimate_routing_fees methods to Bolt11Payment for calculating Lightning routing fees - estimate_routing_fees(): Calculate fees for regular invoices - estimate_routing_fees_using_amount(): Calculate fees for zero-amount invoices
1 parent 51e4624 commit 528ed6f

File tree

11 files changed

+8731
-8443
lines changed

11 files changed

+8731
-8443
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ldk-node"
3-
version = "0.6.2-rc.1"
3+
version = "0.6.2-rc.2"
44
authors = ["Elias Rohrer <[email protected]>"]
55
homepage = "https://lightningdevkit.org/"
66
license = "MIT OR Apache-2.0"
@@ -83,7 +83,7 @@ esplora-client = { version = "0.12", default-features = false, features = ["toki
8383
# `lightning-transaction-sync` APIs. We should drop it as part of the upgrade
8484
# to LDK 0.2.
8585
esplora-client_0_11 = { package = "esplora-client", version = "0.11", default-features = false, features = ["tokio", "async-https-rustls"] }
86-
electrum-client = { version = "0.24.0", default-features = true }
86+
electrum-client = { version = "0.23.1", default-features = true }
8787
libc = "0.2"
8888
uniffi = { version = "0.27.3", features = ["build"], optional = true }
8989
serde = { version = "1.0.210", default-features = false, features = ["std", "derive"] }

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let tag = "v0.6.2-rc.1"
7-
let checksum = "9aeeb548ddf2b3699fcb07b3bbb99d691d4361a45f53a2eee473fcaacc7f1db9"
6+
let tag = "v0.6.2-rc.2"
7+
let checksum = "b5c68aaed0ec282d960a76db3703dcc13b6a51ec861122c90b614d112727fd90"
88
let url = "https://github.com/synonymdev/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"
99

1010
let package = Package(
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)