Skip to content

Commit

Permalink
[Draft] Bump lightning, lightning-invoice, bitcoin, bip21, bech32 crates
Browse files Browse the repository at this point in the history
  • Loading branch information
ok300 committed Nov 12, 2024
1 parent 310533b commit f0d19cc
Show file tree
Hide file tree
Showing 17 changed files with 496 additions and 167 deletions.
168 changes: 155 additions & 13 deletions libs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions libs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ version = "0.6.2"
aes = "0.8"
anyhow = { version = "1.0.79", features = ["backtrace"] }
base64 = "0.13.0"
bitcoin = "=0.29.2" # Same version as used in gl-client
bech32 = "0.11"
bitcoin = "=0.32.2"
hex = "0.4"
lightning = "=0.0.118" # Same version as used in gl-client
lightning-invoice = "=0.26.0" # Same version as used in gl-client
# We need at least lightning v0.0.125 for the latest Bolt12 features
lightning = "0.0.125"
lightning-invoice = "=0.32.0"
log = "0.4"
mockito = "1"
once_cell = "1"
Expand Down
4 changes: 2 additions & 2 deletions libs/sdk-bindings/src/breez_sdk.udl
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,8 @@ interface Amount {
dictionary LNOffer {
string bolt12;
sequence<string> chains;
string description;
string signing_pubkey;
string? description;
string? signing_pubkey;
Amount? amount;
u64? absolute_expiry;
string? issuer;
Expand Down
6 changes: 3 additions & 3 deletions libs/sdk-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ version.workspace = true
aes = { workspace = true }
anyhow = { workspace = true }
base64 = { workspace = true }
bip21 = "0.2"
bitcoin = { workspace = true }
bech32 = { workspace = true }
bip21 = "0.5"
bitcoin = { workspace = true, features = ["rand", "serde"] }
cbc = { version = "0.1", features = ["std"] }
hex = { workspace = true }
lightning = { workspace = true }
Expand All @@ -34,7 +35,6 @@ elements = { version = "0.24.1", optional = true }
urlencoding = { version = "2.1.3" }

[dev-dependencies]
bitcoin = { workspace = true, features = ["rand"] }
mockito = { workspace = true }
once_cell = { workspace = true }

Expand Down
Loading

0 comments on commit f0d19cc

Please sign in to comment.